Added SDL_mixer-1.2.11 build template.

--HG--
extra : convert_revision : 5f219bac633752dedc86ad821cda33fd8621d746
This commit is contained in:
Juan RP 2009-12-25 22:39:48 +01:00
parent 33965b51bc
commit 9e86bdbd0e
4 changed files with 58 additions and 0 deletions

1
srcpkgs/SDL_mixer-devel Symbolic link
View File

@ -0,0 +1 @@
SDL_mixer

View File

@ -0,0 +1,21 @@
# Template file for 'SDL_mixer-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
Add_dependency run libvorbis-devel
Add_dependency run libmikmod-devel
Add_dependency run libflac-devel
Add_dependency run smpeg-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
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
}

View File

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

View File

@ -0,0 +1,34 @@
# Template file for 'SDL_mixer'
pkgname=SDL_mixer
version=1.2.11
distfiles="http://www.libsdl.org/projects/$pkgname/release/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="Multi-channel audio mixer library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=86145ac39cac6d2c6169c226f937648dca5e89dcd828751763dd174fa9af9cf9
long_desc="
SDL_mixer is a sample multi-channel audio mixer library. It supports any
number of simultaneously playing channels of 16 bit stereo audio, plus
a single channel of music, mixed by the popular MikMod MOD, Timidity MIDI,
Ogg Vorbis, and SMPEG MP3 libraries."
subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency run SDL
Add_dependency run libvorbis
Add_dependency run libmikmod
Add_dependency run smpeg
Add_dependency run libflac
Add_dependency build SDL-devel
Add_dependency build libvorbis-devel
Add_dependency build libmikmod-devel
Add_dependency build libflac-devel
Add_dependency build smpeg-devel
pre_configure()
{
sed -i 's|/usr/local/lib/timidity|/usr/lib/timidity|' \
${wrksrc}/timidity/config.h || return 1
sed -i 's|/etc/timidity/timidity.cfg|/etc/timidity++/timidity.cfg|' \
${wrksrc}/timidity/config.h || return 1
}