wok-current annotate mpg123/receipt @ rev 404

Up: tazwok (1.6)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Mar 10 22:16:02 2008 +0100 (2008-03-10)
parents 16e4ef87e466
children 8086d3586b5f
rev   line source
pankso@32 1 # SliTaz package receipt.
pankso@32 2
pankso@32 3 PACKAGE="mpg123"
pankso@191 4 VERSION="1.2.0"
pankso@177 5 CATEGORY="multimedia"
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@191 12 HANDBOOK_URL='http://www.slitaz.org/doc/handbook/multimedia.html#mpg123'
pankso@32 13
pankso@32 14 # Rules to configure and make the package.
pankso@32 15 compile_rules()
pankso@32 16 {
pankso@32 17 cd $src
pankso@191 18 ./configure \
pankso@191 19 --prefix=/usr \
pankso@191 20 --mandir=/usr/share/man \
pankso@191 21 $CONFIGURE_ARGS
pankso@32 22 make
pankso@32 23 make DESTDIR=$PWD/_pkg install
pankso@32 24 }
pankso@32 25
pankso@32 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@32 27 genpkg_rules()
pankso@32 28 {
pankso@191 29 mkdir -p $fs/usr/lib/mpg123
pankso@191 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@191 31 cp -a $_pkg/usr/lib/mpg123/*.so* $fs/usr/lib/mpg123
pankso@32 32 cp -a $_pkg/usr/bin $fs/usr
pankso@32 33 }
pankso@32 34