wok rev 17135

Add libsdl2-mixer and devel.
author necrophcodr <tcg.thegamer@gmail.com>
date Wed Sep 10 10:52:43 2014 +0200 (2014-09-10)
parents 6c18318f82e7
children 22e3b60d4248
files libsdl2-mixer-dev/receipt libsdl2-mixer/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libsdl2-mixer-dev/receipt	Wed Sep 10 10:52:43 2014 +0200
     1.3 @@ -0,0 +1,22 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libsdl2-mixer-dev"
     1.7 +VERSION="2.0.0"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Development files of a multichannel sample and music mixer."
    1.10 +MAINTAINER="tcg.thegamer@gmail.com"
    1.11 +LICENSE="LGPL2.1"
    1.12 +WEB_SITE="http://www.libsdl.org/projects/SDL_mixer/"
    1.13 +WANTED="libsdl2-mixer"
    1.14 +SOURCE="SDL2_mixer"
    1.15 +HOST_ARCH="i486 arm"
    1.16 +
    1.17 +DEPENDS="libsdl2-mixer libsdl2-dev libmad-dev libvorbis-dev libogg-dev "
    1.18 +
    1.19 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.20 +genpkg_rules()
    1.21 +{
    1.22 +	mkdir -p $fs/usr/lib
    1.23 +	cp -a $install/usr/lib/*.a $fs/usr/lib
    1.24 +	cp -a $install/usr/include $fs/usr
    1.25 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libsdl2-mixer/receipt	Wed Sep 10 10:52:43 2014 +0200
     2.3 @@ -0,0 +1,33 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libsdl2-mixer"
     2.7 +SOURCE="SDL2_mixer"
     2.8 +VERSION="2.0.0"
     2.9 +CATEGORY="development"
    2.10 +SHORT_DESC="A multichannel sample and music mixer."
    2.11 +MAINTAINER="tcg.thegamer@gmail.com"
    2.12 +LICENSE="LGPL2.1"
    2.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.14 +WEB_SITE="http://www.libsdl.org/projects/SDL_mixer/"
    2.15 +WGET_URL="http://www.libsdl.org/projects/SDL_mixer/release/$TARBALL"
    2.16 +HOST_ARCH="i486 arm"
    2.17 +
    2.18 +DEPENDS="libsdl2 libmad libvorbis libogg"
    2.19 +BUILD_DEPENDS="libsdl2 libsdl2-dev libmad-dev libvorbis-dev libogg-dev "
    2.20 +
    2.21 +# Rules to configure and make the package.
    2.22 +compile_rules()
    2.23 +{
    2.24 +	./configure \
    2.25 +		--prefix=/usr \
    2.26 +		--enable-music-mp3-mad \
    2.27 +		$CONFIGURE_ARGS &&
    2.28 +	make && make install
    2.29 +}
    2.30 +
    2.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.32 +genpkg_rules()
    2.33 +{
    2.34 +	mkdir -p $fs/usr/lib
    2.35 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.36 +}