#Packager: George Vlahavas (vlahavas~at~gmail~dot~com) pkgname=imlib2 pkgver=1.4.3 pkgrel=1gv source=("http://downloads.sourceforge.net/project/enlightenment/imlib2-src/$pkgver/imlib2-$pkgver.tar.bz2") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "maintainers" "readme.id3") url=http://www.enlightenment.org slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "imlib2 (Powerful image loading and rendering library)" "Imlib2 is an advanced replacement library for libraries" "like libXpm that provides many more features with much" "greater flexibility and speed than standard libraries," "including font rasterization, rotation, RGBA space" "rendering and blending, dynamic binary filters, scripting," "and more." ) build() { cd $startdir/src/$pkgname-$pkgver if [ $arch = "i486" ]; then EXTRAOPTIONS="--disable-amd64 --disable-mmx" else EXTRAOPTIONS="" fi ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static --build=$arch-slackware-linux $EXTRAOPTIONS make || return 1 make install DESTDIR=$startdir/pkg }