1 # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
2 # Contributor: napa3um <napa3um@gmail.com>
4 pkgname=mingw32-sqlite3-static
5 _amalgamationver=3070900
6 _amalgamationver2=${_amalgamationver/00/}
9 pkgdesc="A C library that implements an SQL database engine. Static version. (mingw32)"
12 url="http://www.sqlite.org/"
13 makedepends=('mingw32-w32api' 'mingw32-gcc' 'mingw32-binutils')
14 conflicts=('mingw32-sqlite3')
15 provides=('mingw32-sqlite3')
16 source=(http://www.sqlite.org/sqlite-autoconf-$_amalgamationver.tar.gz)
17 options=(!buildflags !strip !libtool)
18 md5sums=('dce303524736fe89a76b8ed29d566352')
21 cd ${srcdir}/sqlite-autoconf-${_amalgamationver}
22 #CFLAGS='-march=i686 -mtune=generic -O2 -pipe'
23 #CXXFLAGS='-march=i686 -mtune=generic -O2 -pipe'
25 ./configure --prefix=/usr/i486-mingw32 --host=i486-mingw32 --enable-static --disable-shared
27 make DESTDIR=${pkgdir} install
28 rm -Rf ${pkgdir}/usr/i486-mingw32/share