wok diff libsdl-mixer/receipt @ rev 1623

Up: lighttpd (1.4.20)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Oct 23 20:13:41 2008 +0200 (2008-10-23)
parents
children 59228667f806
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libsdl-mixer/receipt	Thu Oct 23 20:13:41 2008 +0200
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libsdl-mixer"
     1.7 +SOURCE="SDL_mixer"
     1.8 +VERSION="1.2.8"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="A multichannel sample and music mixer."
    1.11 +MAINTAINER="chadi.elahmad@gmail.com"
    1.12 +
    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 +
    1.17 +DEPENDS="libSDL libmad libvorbis libogg "
    1.18 +BUILD_DEPENDS="libSDL libSDL-dev libmad-dev libvorbis-dev libogg-dev "
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd $src
    1.24 +	./configure \
    1.25 +		--prefix=/usr \
    1.26 +		--mandir=/usr/share/man \
    1.27 +		--infodir=/usr/share/info \
    1.28 +		--enable-music-mp3-mad \
    1.29 +		$CONFIGURE_ARGS
    1.30 +	make
    1.31 +	make DESTDIR=$PWD/_pkg install
    1.32 +}
    1.33 +
    1.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 +genpkg_rules()
    1.36 +{
    1.37 +	mkdir -p $fs/usr/lib
    1.38 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.39 +}