wok view mpg123/receipt @ rev 2522

p*: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 16 22:31:09 2009 +0000 (2009-03-16)
parents d80ca24df53c
children 2ff1cea175be
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 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 }