wok-stable view mpg123/receipt @ rev 8085
Up: linux to 2.6.37. Up: aufs to 20110122.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Jan 22 01:56:16 2011 +0000 (2011-01-22) |
parents | 5b44af8c1257 |
children | 292bf098cc33 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mpg123"
4 VERSION="1.12.4"
5 CATEGORY="multimedia"
6 SHORT_DESC="Command line audio player and streamer"
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="alsa-lib libtool esound openal portaudio libsdl"
9 BUILD_DEPENDS="alsa-lib-dev libtool"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.mpg123.de/"
12 WGET_URL="http://www.mpg123.de/download/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 --with-default-audio=alsa \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 # mpg123 needs the plugins libtool library file (.la) to work.
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/lib/mpg123 $fs/usr/lib
34 cp -a $_pkg/usr/bin $fs/usr
35 }