Added SDL-1.2.14 build template.
--HG-- extra : convert_revision : 4d17f84e9333ed6ea9899a36064bebb36d41a247
This commit is contained in:
parent
75d2a68565
commit
8bde4a55b5
4 changed files with 58 additions and 0 deletions
1
srcpkgs/SDL-devel
Symbolic link
1
srcpkgs/SDL-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
SDL
|
24
srcpkgs/SDL/SDL-devel.template
Normal file
24
srcpkgs/SDL/SDL-devel.template
Normal file
|
@ -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
|
||||||
|
}
|
2
srcpkgs/SDL/depends
Normal file
2
srcpkgs/SDL/depends
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
abi_depends=">=1.2.14"
|
||||||
|
api_depends="${abi_depends}"
|
31
srcpkgs/SDL/template
Normal file
31
srcpkgs/SDL/template
Normal file
|
@ -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 <xtraeme@gmail.com>"
|
||||||
|
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
|
Loading…
Reference in a new issue