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