wok-current annotate mpg123/receipt @ rev 32
Add : alsa-* and sound libs (ogg, mad, etc) + mpg123
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 14:04:58 2007 +0100 (2007-12-18) |
parents | |
children | 16e4ef87e466 |
rev | line source |
---|---|
pankso@32 | 1 # SliTaz package receipt. |
pankso@32 | 2 |
pankso@32 | 3 PACKAGE="mpg123" |
pankso@32 | 4 VERSION="0.68" |
pankso@32 | 5 CATEGORY="extra" |
pankso@32 | 6 SHORT_DESC="Command line audi player and streamer" |
pankso@32 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@32 | 8 DEPENDS="alsa-lib" |
pankso@32 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@32 | 10 WEB_SITE="http://www.mpg123.de/" |
pankso@32 | 11 WGET_URL="http://www.mpg123.de/download/$TARBALL" |
pankso@32 | 12 |
pankso@32 | 13 # Rules to configure and make the package. |
pankso@32 | 14 compile_rules() |
pankso@32 | 15 { |
pankso@32 | 16 cd $src |
pankso@32 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@32 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@32 | 19 make |
pankso@32 | 20 make DESTDIR=$PWD/_pkg install |
pankso@32 | 21 } |
pankso@32 | 22 |
pankso@32 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@32 | 24 genpkg_rules() |
pankso@32 | 25 { |
pankso@32 | 26 mkdir -p $fs/usr |
pankso@32 | 27 cp -a $_pkg/usr/bin $fs/usr |
pankso@32 | 28 strip -s $fs/usr/bin/* |
pankso@32 | 29 } |
pankso@32 | 30 |