Added SDL_image-1.2.10 build template.

--HG--
extra : convert_revision : e0a5e20b89810cd68ef82230a892cd546c330324
This commit is contained in:
Juan RP 2009-12-29 23:53:26 +01:00
parent 43b7fdf1ce
commit b6ab92915b
4 changed files with 47 additions and 0 deletions

1
srcpkgs/SDL_image-devel Symbolic link
View file

@ -0,0 +1 @@
SDL_image

View file

@ -0,0 +1,21 @@
# Template file for 'SDL_image-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libpng-devel
Add_dependency run tiff-devel
Add_dependency run jpeg-devel
Add_dependency run SDL-devel
Add_dependency run SDL_image
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
}

View file

@ -0,0 +1,2 @@
abi_depends=">=1.2.10"
api_depends="${abi_depends}"

View file

@ -0,0 +1,23 @@
# Template file for 'SDL_image'
pkgname=SDL_image
version=1.2.10
distfiles="http://www.libsdl.org/projects/$pkgname/release/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="Load images as SDL surfaces"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=75e05d1e95f6277b44797157d9e25a908ba8d08a393216ffb019b0d74de11876
long_desc="
This is a simple library to load images of various formats as SDL
surfaces. This library supports BMP, PNM (PPM/PGM/PBM), XPM, LBM,
PCX, GIF, JPEG, PNG, TGA, and TIFF formats."
subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency run libpng
Add_dependency run tiff
Add_dependency run jpeg
Add_dependency run SDL
Add_dependency build libpng-devel
Add_dependency build tiff-devel
Add_dependency build jpeg-devel
Add_dependency build SDL-devel