wok-6.x view libsdl-mixer/receipt @ rev 13271

Up: pcmanfm (1.0)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Aug 21 00:44:53 2012 +0200 (2012-08-21)
parents ba0df146049f
children 6eff489aa802
line source
1 # SliTaz package receipt.
3 PACKAGE="libsdl-mixer"
4 SOURCE="SDL_mixer"
5 VERSION="1.2.11"
6 CATEGORY="development"
7 SHORT_DESC="A multichannel sample and music mixer."
8 MAINTAINER="chadi.elahmad@gmail.com"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.libsdl.org/projects/SDL_mixer/"
11 WGET_URL="http://www.libsdl.org/projects/SDL_mixer/release/$TARBALL"
12 DEPENDS="libsdl libmad libvorbis libogg"
13 BUILD_DEPENDS="libsdl libsdl-dev libmad-dev libvorbis-dev libogg-dev "
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 --infodir=/usr/share/info \
23 --enable-music-mp3-mad \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 }