1 # Description: Library for doubly linked lists and a wrapper for imlib2.
2 # URL: http://freshmeat.net/projects/giblib/
3 # Packager: Mark Rosenstand, mark at borkware dot net
4 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
5 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
11 source=(http://linuxbrit.co.uk/downloads/$name-$version.tar.gz)
16 export CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS"
19 -e "s|^IMLIB_CFLAGS=.*|IMLIB_CFLAGS=\"-I$CLFS/usr/include -I$CLFS/usr/include/freetype2\"|" \
20 -e "s|^IMLIB_LIBS=.*|IMLIB_LIBS=\"-L$CLFS/usr/lib -lImlib2 -lfreetype -lz -lX11 -lXext -ldl -lm\"|"
22 ./configure --build=$CHOST \
25 --with-imlib2-prefix=$CLFS/usr
28 make DESTDIR=$PKG install