wok-next annotate mpg123/receipt @ rev 16034

Add to ARM: audiofile, libwrap and improve mpd package
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 09 02:28:02 2014 +0100 (2014-03-09)
parents 61bec0518c8c
children b5fd8eaca2f3
rev   line source
pankso@32 1 # SliTaz package receipt.
pankso@32 2
pankso@32 3 PACKAGE="mpg123"
pankso@16026 4 VERSION="1.18.1"
pankso@177 5 CATEGORY="multimedia"
paul@4627 6 SHORT_DESC="Command line audio player and streamer"
pankso@32 7 MAINTAINER="pankso@slitaz.org"
pascal@14996 8 LICENSE="LGPL2.1"
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@16026 12 #HOST_ARCH="i486 arm"
pankso@32 13
pankso@16026 14 DEPENDS="alsa-lib"
pankso@16026 15 BUILD_DEPENDS="alsa-lib-dev"
pascal@14996 16
pankso@32 17 # Rules to configure and make the package.
pankso@32 18 compile_rules()
pankso@32 19 {
pankso@191 20 ./configure \
pankso@191 21 --prefix=/usr \
pankso@191 22 --mandir=/usr/share/man \
paul@4633 23 --with-default-audio=alsa \
pascal@2464 24 $CONFIGURE_ARGS &&
pascal@2464 25 make &&
slaxemulator@10195 26 make install
pankso@32 27 }
pankso@32 28
pankso@32 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@32 30 genpkg_rules()
pankso@32 31 {
paul@4627 32 # mpg123 needs the plugins libtool library file (.la) to work.
pankso@3349 33 mkdir -p $fs/usr/lib
slaxemulator@13264 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@13264 35 cp -a $install/usr/bin $fs/usr
pankso@32 36 }