#Maintainer: Dimitris Tzemos pkgname=SDL2_image pkgver=2.0.1 pkgrel=1dj source=("http://www.libsdl.org/projects/SDL_image/release/$pkgname-$pkgver.tar.gz") sourcetemplate=http://people.salixos.org/djemos/salix/$pkgname #docs=() url="http://www.libsdl.org/projects/SDL_image/" slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "SDL2_image (image loading library)" "SDL2_image is a simple image loading library. It loads images of" "various formats as SDL surfaces and textures." "" "Homepage: http://www.libsdl.org/projects/SDL_image/" ) build() { cd $SRC/$pkgname-$pkgver ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --disable-static \ --build=$arch-slackware-linux make || return 1 make install DESTDIR=$PKG || return 1 }