updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / mingw32-sqlite3-static / PKGBUILD
blob844e87e3632824374cedd1c7e5740f8938e5a870
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/}
7 pkgver=3.7.9
8 pkgrel=1
9 pkgdesc="A C library that implements an SQL database engine. Static version. (mingw32)"
10 arch=('any')
11 license=('custom')
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')
20 build() {
21   cd ${srcdir}/sqlite-autoconf-${_amalgamationver}
22 #CFLAGS='-march=i686 -mtune=generic -O2 -pipe'
23 #CXXFLAGS='-march=i686 -mtune=generic -O2 -pipe'
24 LDFLAGS=''
25   ./configure --prefix=/usr/i486-mingw32 --host=i486-mingw32 --enable-static --disable-shared
26   make
27   make DESTDIR=${pkgdir} install
28   rm -Rf ${pkgdir}/usr/i486-mingw32/share