1 # Maintainer: Ondrej Jirman <megous@megous.com>
8 pkgdesc="Judy (mingw32)"
9 depends=(mingw32-runtime)
10 makedepends=(mingw32-gcc)
13 url="http://judy.sourceforge.net/"
14 source=(http://dl.sf.net/sourceforge/judy/$_pkgname-$pkgver.tar.gz
15 $_pkgname-$pkgver-cross.patch)
16 md5sums=('7b03d4b016115ca15a5a96368a76cd10'
17 '0e5bb5b23749f44e85e8209fbc1b27b1')
21 cd $startdir/src/$_pkgname-$pkgver
23 export CFLAGS="$CFLAGS -mms-bitfields"
25 cat $startdir/src/$_pkgname-$pkgver-cross.patch | patch -p1
27 --prefix=/usr/i486-mingw32 \
32 make install DESTDIR=$startdir/pkg
35 find . -name '*.a' -o -name '*.dll' | xargs -rtl1 i486-mingw32-strip -g
36 rm -rf usr/i486-mingw32/share/man