wok-current annotate mpg123/receipt @ rev 4490

Add xorg-xf86-video-v4l
author Rohit Joshi <jozee@slitaz.org>
date Wed Nov 18 12:40:58 2009 +0000 (2009-11-18)
parents 2ff1cea175be
children 43851b0813ec
rev   line source
pankso@32 1 # SliTaz package receipt.
pankso@32 2
pankso@32 3 PACKAGE="mpg123"
pankso@3349 4 VERSION="1.8.0"
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@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@3349 21 --with-audio="alsa" \
pascal@2464 22 $CONFIGURE_ARGS &&
pascal@2464 23 make &&
pankso@32 24 make DESTDIR=$PWD/_pkg install
pankso@32 25 }
pankso@32 26
pankso@32 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@32 28 genpkg_rules()
pankso@32 29 {
pankso@3349 30 # mpg123 need the plugins libtool library file (.la) to work.
pankso@3349 31 mkdir -p $fs/usr/lib
pankso@191 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@3349 33 cp -a $_pkg/usr/lib/mpg123 $fs/usr/lib
pankso@32 34 cp -a $_pkg/usr/bin $fs/usr
pankso@32 35 }