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

Up: pango (2.24.2), pixman (0.15.2)
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 13 22:44:02 2009 +0200 (2009-05-13)
parents cde7fa93f1d6
children f21f0b5b51c2
line source
1 # SliTaz package receipt.
3 PACKAGE="mpg123"
4 VERSION="1.7.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Command line audi player and streamer"
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="alsa-lib libtool"
9 BUILD_DEPENDS="alsa-lib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.mpg123.de/"
12 WGET_URL="http://www.mpg123.de/download/$TARBALL"
13 HANDBOOK_URL='http://www.slitaz.org/doc/handbook/multimedia.html#mpg123'
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 --with-audio=alsa \
23 --with-default-audio=alsa \
24 --with-seektable=0 \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/mpg123
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/mpg123/*.so* $fs/usr/lib/mpg123
36 cp -a $_pkg/usr/bin $fs/usr
37 }