wok-stable annotate mpg123/receipt @ rev 1797
Up: Poedit to 1.4.2
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Dec 01 11:30:15 2008 +0100 (2008-12-01) |
parents | 8086d3586b5f |
children | cde7fa93f1d6 |
rev | line source |
---|---|
pankso@32 | 1 # SliTaz package receipt. |
pankso@32 | 2 |
pankso@32 | 3 PACKAGE="mpg123" |
pankso@973 | 4 VERSION="1.4.3" |
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@973 | 9 BUILD_DEPENDS="alsa-lib-dev" |
pankso@32 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@32 | 11 WEB_SITE="http://www.mpg123.de/" |
pankso@32 | 12 WGET_URL="http://www.mpg123.de/download/$TARBALL" |
pankso@191 | 13 HANDBOOK_URL='http://www.slitaz.org/doc/handbook/multimedia.html#mpg123' |
pankso@32 | 14 |
pankso@32 | 15 # Rules to configure and make the package. |
pankso@32 | 16 compile_rules() |
pankso@32 | 17 { |
pankso@32 | 18 cd $src |
pankso@191 | 19 ./configure \ |
pankso@191 | 20 --prefix=/usr \ |
pankso@191 | 21 --mandir=/usr/share/man \ |
pankso@973 | 22 --with-audio=alsa \ |
pankso@973 | 23 --with-default-audio=alsa \ |
pankso@973 | 24 --with-seektable=0 \ |
pankso@191 | 25 $CONFIGURE_ARGS |
pankso@32 | 26 make |
pankso@32 | 27 make DESTDIR=$PWD/_pkg install |
pankso@32 | 28 } |
pankso@32 | 29 |
pankso@32 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@32 | 31 genpkg_rules() |
pankso@32 | 32 { |
pankso@191 | 33 mkdir -p $fs/usr/lib/mpg123 |
pankso@191 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@191 | 35 cp -a $_pkg/usr/lib/mpg123/*.so* $fs/usr/lib/mpg123 |
pankso@32 | 36 cp -a $_pkg/usr/bin $fs/usr |
pankso@32 | 37 } |
pankso@32 | 38 |