From 8bde4a55b5a1881004c4963480f6e31d86db2eee Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 24 Dec 2009 03:32:26 +0100 Subject: [PATCH] Added SDL-1.2.14 build template. --HG-- extra : convert_revision : 4d17f84e9333ed6ea9899a36064bebb36d41a247 --- srcpkgs/SDL-devel | 1 + srcpkgs/SDL/SDL-devel.template | 24 ++++++++++++++++++++++++ srcpkgs/SDL/depends | 2 ++ srcpkgs/SDL/template | 31 +++++++++++++++++++++++++++++++ 4 files changed, 58 insertions(+) create mode 120000 srcpkgs/SDL-devel create mode 100644 srcpkgs/SDL/SDL-devel.template create mode 100644 srcpkgs/SDL/depends create mode 100644 srcpkgs/SDL/template diff --git a/srcpkgs/SDL-devel b/srcpkgs/SDL-devel new file mode 120000 index 0000000000..bf798a5673 --- /dev/null +++ b/srcpkgs/SDL-devel @@ -0,0 +1 @@ +SDL \ No newline at end of file diff --git a/srcpkgs/SDL/SDL-devel.template b/srcpkgs/SDL/SDL-devel.template new file mode 100644 index 0000000000..044ca16b8e --- /dev/null +++ b/srcpkgs/SDL/SDL-devel.template @@ -0,0 +1,24 @@ +# Template file for 'SDL-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libX11-devel +Add_dependency run libXext-devel +Add_dependency run libXrender-devel +Add_dependency run MesaLib-devel +Add_dependency run alsa-lib-devel +Add_dependency run SDL + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/bin ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr +} diff --git a/srcpkgs/SDL/depends b/srcpkgs/SDL/depends new file mode 100644 index 0000000000..7ca2acd28b --- /dev/null +++ b/srcpkgs/SDL/depends @@ -0,0 +1,2 @@ +abi_depends=">=1.2.14" +api_depends="${abi_depends}" diff --git a/srcpkgs/SDL/template b/srcpkgs/SDL/template new file mode 100644 index 0000000000..1a5389f73d --- /dev/null +++ b/srcpkgs/SDL/template @@ -0,0 +1,31 @@ +# Template file for 'SDL' +pkgname=SDL +version=1.2.14 +distfiles="http://www.libsdl.org/release/SDL-$version.tar.gz" +build_style=gnu_configure +configure_args="--enable-alsa --disable-esd --disable-rpath + --enable-clock_gettime --disable-nas --disable-arts --disable-pulseaudio" +short_desc="Simple Directmedia Layer" +maintainer="Juan RP " +checksum=5d927e287034cb6bb0ebccfa382cb1d185cb113c8ab5115a0759798642eed9b6 +long_desc=" + Simple DirectMedia Layer is a cross-platform multimedia library designed + to provide low level access to audio, keyboard, mouse, joystick, 3D hardware + via OpenGL, and 2D video framebuffer. It is used by MPEG playback software, + emulators, and many popular games, including the award winning Linux port + of Civilization: Call To Power." + +subpackages="$pkgname-devel" +Add_dependency run glibc +Add_dependency run libXext +Add_dependency run libXrender +Add_dependency run libX11 +Add_dependency run MesaLib +Add_dependency run alsa-lib +Add_dependency build pkg-config +Add_dependency build nasm +Add_dependency build libXext-devel +Add_dependency build libXrender-devel +Add_dependency build libX11-devel +Add_dependency build MesaLib-devel +Add_dependency build alsa-lib-devel