wok-current view libsdl-mixer/receipt @ rev 9902

parted: fix bdeps
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 17 13:38:44 2011 +0200 (2011-05-17)
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 }