wok annotate libsdl-mixer/receipt @ rev 14718

lib[s-z]*: add LICENSE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 11 11:57:36 2013 +0200 (2013-06-11)
parents 8c08820e8dfb
children 76b72f1ad63c
rev   line source
pascal@1136 1 # SliTaz package receipt.
pascal@1136 2
pascal@1136 3 PACKAGE="libsdl-mixer"
pascal@1136 4 SOURCE="SDL_mixer"
slaxemulator@6198 5 VERSION="1.2.11"
pascal@1136 6 CATEGORY="development"
pascal@1136 7 SHORT_DESC="A multichannel sample and music mixer."
pascal@1136 8 MAINTAINER="chadi.elahmad@gmail.com"
pascal@1136 9 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@1136 10 WEB_SITE="http://www.libsdl.org/projects/SDL_mixer/"
pascal@1136 11 WGET_URL="http://www.libsdl.org/projects/SDL_mixer/release/$TARBALL"
pascal@14718 12
pankso@3425 13 DEPENDS="libsdl libmad libvorbis libogg"
pankso@3425 14 BUILD_DEPENDS="libsdl libsdl-dev libmad-dev libvorbis-dev libogg-dev "
pascal@1136 15
pascal@1136 16 # Rules to configure and make the package.
pascal@1136 17 compile_rules()
pascal@1136 18 {
pascal@1136 19 cd $src
pascal@1136 20 ./configure \
pascal@1136 21 --prefix=/usr \
pascal@1136 22 --mandir=/usr/share/man \
pascal@1136 23 --infodir=/usr/share/info \
pascal@1136 24 --enable-music-mp3-mad \
pascal@2476 25 $CONFIGURE_ARGS &&
pascal@2476 26 make &&
pascal@14718 27 make DESTDIR=$DESTDIR install
pascal@1136 28 }
pascal@1136 29
pascal@1136 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1136 31 genpkg_rules()
pascal@1136 32 {
pascal@1136 33 mkdir -p $fs/usr/lib
pascal@14718 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@1136 35 }