wok-stable view mpg123/receipt @ rev 973

Up: mpg123 (1.4.3)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jun 30 12:17:48 2008 +0200 (2008-06-30)
parents 8086d3586b5f
children cde7fa93f1d6
line source
1 # SliTaz package receipt.
3 PACKAGE="mpg123"
4 VERSION="1.4.3"
5 CATEGORY="multimedia"
6 SHORT_DESC="Command line audi player and streamer"
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="alsa-lib"
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 }