wok annotate mpg123/receipt @ rev 3164
ecore,ffmpeg,snownews: Remove dep on libiconv (use iconv() from glibc)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 25 00:49:10 2009 +0200 (2009-05-25) |
parents | cde7fa93f1d6 |
children | f21f0b5b51c2 |
rev | line source |
---|---|
pankso@32 | 1 # SliTaz package receipt. |
pankso@32 | 2 |
pankso@32 | 3 PACKAGE="mpg123" |
pankso@2682 | 4 VERSION="1.7.2" |
pankso@177 | 5 CATEGORY="multimedia" |
pankso@32 | 6 SHORT_DESC="Command line audi player and streamer" |
pankso@32 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2464 | 8 DEPENDS="alsa-lib libtool" |
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 \ |
pascal@2464 | 25 $CONFIGURE_ARGS && |
pascal@2464 | 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 |