wok diff libsdl2-mixer/receipt @ rev 18422

naim: rece condition
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 21 11:28:06 2015 +0200 (2015-09-21)
parents
children 4edee500eec9
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libsdl2-mixer/receipt	Mon Sep 21 11:28:06 2015 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libsdl2-mixer"
     1.7 +SOURCE="SDL2_mixer"
     1.8 +VERSION="2.0.0"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="A multichannel sample and music mixer."
    1.11 +MAINTAINER="tcg.thegamer@gmail.com"
    1.12 +LICENSE="LGPL2.1"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.libsdl.org/projects/SDL_mixer/"
    1.15 +WGET_URL="http://www.libsdl.org/projects/SDL_mixer/release/$TARBALL"
    1.16 +HOST_ARCH="i486 arm"
    1.17 +
    1.18 +DEPENDS="libsdl2 libmad libvorbis libogg"
    1.19 +BUILD_DEPENDS="libsdl2 libsdl2-dev libmad-dev libvorbis-dev libogg-dev "
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	./configure \
    1.25 +		--prefix=/usr \
    1.26 +		--enable-music-mp3-mad \
    1.27 +		$CONFIGURE_ARGS &&
    1.28 +	make && make install
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	mkdir -p $fs/usr/lib
    1.35 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.36 +}