#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com #Former: Patrice Scolari pkgname=DevIL pkgver=1.7.8 pkgrel=1 zenver=66 arch=i486 source=("http://prdownloads.sourceforge.net/openil/DevIL-$pkgver.tar.gz" "libpng14.patch") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/l/$pkgname docs=("readme" "install" "copying" "changelog" "authors" "news") url="http://openil.sourceforge.net/" options=('norequiredbuilder' 'keepdepfile' 'noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (a programmer's image library)" "DevIL is a programmer's library to develop applications with very" "powerful image loading capabilities, yet is easy for a developer to" "learn and use. Ultimate control of images is left to the developer, so" "unnecessary conversions, etc. are not performed. DevIL utilizes a" "simple, yet powerful, syntax. DevIL can load, save, convert," "manipulate, filter and display a wide variety of image formats." ) build() { cd $startdir/src/devil-$pkgver patch -p1 -i ../libpng14.patch # configure and build ./configure --prefix=/usr --infodir=/usr/info --enable-ILU --enable-ILUT --enable-opengl --enable-sdl --disable-allegro make || return 1 make prefix=$startdir/pkg/usr install }