wok-6.x view mpg123/receipt @ rev 10118

Up: gst-plugins-bad to 0.10.22. Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 16:07:11 2011 +0000 (2011-05-20)
parents 292bf098cc33
children 6b5b87dc47c5
line source
1 # SliTaz package receipt.
3 PACKAGE="mpg123"
4 VERSION="1.13.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Command line audio player and streamer"
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="alsa-lib libltdl esound openal portaudio libsdl"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.mpg123.de/"
11 WGET_URL="http://www.mpg123.de/download/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --mandir=/usr/share/man \
20 --with-default-audio=alsa \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 # mpg123 needs the plugins libtool library file (.la) to work.
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/lib/mpg123 $fs/usr/lib
33 cp -a $_pkg/usr/bin $fs/usr
34 }