1 # Contributor: Andre Klitzing <aklitzing () online () de>
7 pkgdesc="gnet (mingw32)"
8 depends=('mingw32-glib2')
9 makedepends=('mingw32-gcc' 'mingw32-pkgconfig')
12 url="http://www.gnetlibrary.org"
13 source=(http://ftp.gnome.org/pub/GNOME/sources/${_pkgname}/2.0/${_pkgname}-$pkgver.tar.bz2)
14 md5sums=('93327d2fca333d7e54ba2cf54e071165')
18 cd "$srcdir/$_pkgname-$pkgver"
20 cat > win32.cache << EOF
21 ac_cv_gnet_have_abstract_sockets=no
24 export CFLAGS="$CFLAGS -mms-bitfields -mno-cygwin"
27 --prefix=/usr/i486-mingw32 \
30 --cache-file=win32.cache \
34 make install DESTDIR="$pkgdir" || return 1