wok view mpg123/receipt @ rev 16110

ARM: add mpg123
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 20 22:46:06 2014 +0100 (2014-03-20)
parents 50ad9046eb2a
children 7a820bd0c608
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/bin $fs/usr
36 }