Added SDL_image-1.2.10 build template.
--HG-- extra : convert_revision : e0a5e20b89810cd68ef82230a892cd546c330324
This commit is contained in:
parent
43b7fdf1ce
commit
b6ab92915b
4 changed files with 47 additions and 0 deletions
1
srcpkgs/SDL_image-devel
Symbolic link
1
srcpkgs/SDL_image-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
SDL_image
|
21
srcpkgs/SDL_image/SDL_image-devel.template
Normal file
21
srcpkgs/SDL_image/SDL_image-devel.template
Normal 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
|
||||||
|
}
|
2
srcpkgs/SDL_image/depends
Normal file
2
srcpkgs/SDL_image/depends
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
abi_depends=">=1.2.10"
|
||||||
|
api_depends="${abi_depends}"
|
23
srcpkgs/SDL_image/template
Normal file
23
srcpkgs/SDL_image/template
Normal 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
|
Loading…
Reference in a new issue