From ef3c00b26db09686558614c043426ccff875cf1b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 25 Dec 2009 23:04:35 +0100 Subject: [PATCH] Added SDL_net-1.2.7 build template. --HG-- extra : convert_revision : 779c7ca797763d00116e4194f160995ba19b976c --- srcpkgs/SDL_net-devel | 1 + srcpkgs/SDL_net/SDL_net-devel.template | 16 ++++++++++++++++ srcpkgs/SDL_net/depends | 2 ++ srcpkgs/SDL_net/template | 16 ++++++++++++++++ 4 files changed, 35 insertions(+) create mode 120000 srcpkgs/SDL_net-devel create mode 100644 srcpkgs/SDL_net/SDL_net-devel.template create mode 100644 srcpkgs/SDL_net/depends create mode 100644 srcpkgs/SDL_net/template diff --git a/srcpkgs/SDL_net-devel b/srcpkgs/SDL_net-devel new file mode 120000 index 0000000000..95ea9d09a6 --- /dev/null +++ b/srcpkgs/SDL_net-devel @@ -0,0 +1 @@ +SDL_net \ No newline at end of file diff --git a/srcpkgs/SDL_net/SDL_net-devel.template b/srcpkgs/SDL_net/SDL_net-devel.template new file mode 100644 index 0000000000..d6df9fb34f --- /dev/null +++ b/srcpkgs/SDL_net/SDL_net-devel.template @@ -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 +} diff --git a/srcpkgs/SDL_net/depends b/srcpkgs/SDL_net/depends new file mode 100644 index 0000000000..7af62f136f --- /dev/null +++ b/srcpkgs/SDL_net/depends @@ -0,0 +1,2 @@ +abi_depends=">=1.2.7" +api_depends="${abi_depends}" diff --git a/srcpkgs/SDL_net/template b/srcpkgs/SDL_net/template new file mode 100644 index 0000000000..9e2d42193c --- /dev/null +++ b/srcpkgs/SDL_net/template @@ -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 " +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