wok view libsdl-mixer/receipt @ rev 15149

php: fix post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 13:25:02 2013 +0000 (2013-08-15)
parents 6eff489aa802
children 4cd474907d60
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 LICENSE="LGPL2.1"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.libsdl.org/projects/SDL_mixer/"
12 WGET_URL="http://www.libsdl.org/projects/SDL_mixer/release/$TARBALL"
14 DEPENDS="libsdl libmad libvorbis libogg"
15 BUILD_DEPENDS="libsdl libsdl-dev libmad-dev libvorbis-dev libogg-dev "
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --mandir=/usr/share/man \
24 --infodir=/usr/share/info \
25 --enable-music-mp3-mad \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }