Added SDL_net-1.2.7 build template.

--HG--
extra : convert_revision : 779c7ca797763d00116e4194f160995ba19b976c
This commit is contained in:
Juan RP 2009-12-25 23:04:35 +01:00
parent 51ee7b62fc
commit ef3c00b26d
4 changed files with 35 additions and 0 deletions

1
srcpkgs/SDL_net-devel Symbolic link
View file

@ -0,0 +1 @@
SDL_net

View file

@ -0,0 +1,16 @@
# Template file for 'SDL_net-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run SDL-devel
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
}

2
srcpkgs/SDL_net/depends Normal file
View file

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

16
srcpkgs/SDL_net/template Normal file
View file

@ -0,0 +1,16 @@
# Template file for 'SDL_net'
pkgname=SDL_net
version=1.2.7
distfiles="http://www.libsdl.org/projects/$pkgname/release/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="Small sample cross-platform networking library for SDL"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=2ce7c84e62ff8117b9f205758bcce68ea603e08bc9d6936ded343735b8b77c53
long_desc="
This is a small sample cross-platform networking library which is
supplementary to the SDL (Simple DirectMedia Layer) library."
subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency run SDL
Add_dependency build SDL-devel