wok view mpg123/receipt @ rev 15541

Up: firefox-langpack-id (17.0.11esr)
author Dominique Corbex <domcox@slitaz.org>
date Sun Nov 24 17:36:32 2013 +0100 (2013-11-24)
parents d7c8fa24dae5
children 61bec0518c8c
line source
1 # SliTaz package receipt.
3 PACKAGE="mpg123"
4 VERSION="1.14.4"
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"
13 DEPENDS="alsa-lib libltdl esound openal portaudio libsdl"
14 BUILD_DEPENDS="alsa-lib-dev libtool"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
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 }