updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / mingw32-bdwgc / PKGBUILD
blobfcc7413a8782a16559a4ba4923196f18d861cac6
1 pkgname=mingw32-bdwgc
2 pkgver=7.2alpha6
3 pkgrel=1
4 pkgdesc="C/C++ garbage collector library (mingw32)"
5 arch=(any)
6 license=('Unknown')
7 depends=(mingw32-gcc)
8 makedepends=(mingw32-gcc)
9 options=(!strip !buildflags)
10 source=(http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-$pkgver.tar.gz)
11 url='http://www.hpl.hp.com/personal/Hans_Boehm/gc/'
12 sha256sums=('ebf425b254773d565e1690287641ed177716a78e952c96fec917edbc64535c16')
14 build() {
15   cd "${srcdir}/gc-${pkgver}"
17   export PKG_CONFIG_LIBDIR="/usr/i486-mingw32/lib/pkgconfig"
18   unset LDFLAGS PKG_CONFIG_PATH
20   ./configure \
21     --prefix=/usr/i486-mingw32 \
22     --host=i486-mingw32 \
23     --build=$CHOST \
24     --enable-threads=win32
25   make
28 package() {
29   cd "${srcdir}/gc-${pkgver}"
30   mkdir -p "$pkgdir/usr/i486-mingw32/lib"
31   make DESTDIR="${pkgdir}" install