wok view mpg123/receipt @ rev 16026

Up ffmpeg and add to ARM, rm ffmpeg-svn and add git version, up mpg123 and more X pkgs to ARM
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 08 06:26:57 2014 +0100 (2014-03-08)
parents 76b72f1ad63c
children 50ad9046eb2a
line source
1 # SliTaz package receipt.
3 PACKAGE="mpg123"
4 VERSION="1.18.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Command line audio player and streamer"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.mpg123.de/"
11 WGET_URL="http://www.mpg123.de/download/$TARBALL"
12 #HOST_ARCH="i486 arm"
14 DEPENDS="alsa-lib"
15 BUILD_DEPENDS="alsa-lib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 --with-default-audio=alsa \
24 $CONFIGURE_ARGS &&
25 make &&
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 # mpg123 needs the plugins libtool library file (.la) to work.
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 cp -a $install/usr/lib/mpg123 $fs/usr/lib
36 cp -a $install/usr/bin $fs/usr
37 }