3 pkgname=mingw32-libglade
7 pkgdesc="Allows you to load glade interface files in a program at runtime (mingw32)"
9 makedepends=(mingw32-gcc)
10 options=(!strip !buildflags)
12 url="http://www.jamesh.id.au/software/libglade/"
13 source=(http://ftp.gnome.org/pub/gnome/sources/libglade/2.6/libglade-${pkgver}.tar.bz2)
14 md5sums=('d1776b40f4e166b5e9c107f1c8fe4139')
18 cd $startdir/src/libglade-$pkgver
20 export CFLAGS="-O2 -mms-bitfields"
21 export PKG_CONFIG_PATH="/usr/i486-mingw32/lib/pkgconfig/"
24 --prefix=/usr/i486-mingw32 \
30 mkdir -p $startdir/pkg/usr/i486-mingw32/lib
31 make install DESTDIR=$startdir/pkg || exit 1
34 find . -name '*.a' -o -name '*.dll' -o -name '*.exe' \
35 | xargs -rtl1 i486-mingw32-strip -g
37 rm -rf usr/i486-mingw32/share/gtk-doc