wok annotate mpg123/receipt @ rev 10041

flex: cross with CONFIGURE_ARGS
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 20 08:58:54 2011 +0200 (2011-05-20)
parents 292bf098cc33
children 6b5b87dc47c5
rev   line source
pankso@32 1 # SliTaz package receipt.
pankso@32 2
pankso@32 3 PACKAGE="mpg123"
slaxemulator@8766 4 VERSION="1.13.2"
pankso@177 5 CATEGORY="multimedia"
paul@4627 6 SHORT_DESC="Command line audio player and streamer"
pankso@32 7 MAINTAINER="pankso@slitaz.org"
slaxemulator@9629 8 DEPENDS="alsa-lib libltdl esound openal portaudio libsdl"
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@191 17 ./configure \
pankso@191 18 --prefix=/usr \
pankso@191 19 --mandir=/usr/share/man \
paul@4633 20 --with-default-audio=alsa \
pascal@2464 21 $CONFIGURE_ARGS &&
pascal@2464 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 {
paul@4627 29 # mpg123 needs the plugins libtool library file (.la) to work.
pankso@3349 30 mkdir -p $fs/usr/lib
pankso@191 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
paul@4633 32 cp -a $_pkg/usr/lib/mpg123 $fs/usr/lib
pankso@32 33 cp -a $_pkg/usr/bin $fs/usr
pankso@32 34 }