wok view mpg123/receipt @ rev 2761

Cups: reduce size (strip cups /usr/lib)
author Rohit Joshi <jozee@slitaz.org>
date Sun Apr 26 15:41:46 2009 +0000 (2009-04-26)
parents cde7fa93f1d6
children f21f0b5b51c2
line source
1 # SliTaz package receipt.
3 PACKAGE="mpg123"
4 VERSION="1.7.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Command line audi player and streamer"
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="alsa-lib libtool"
9 BUILD_DEPENDS="alsa-lib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.mpg123.de/"
12 WGET_URL="http://www.mpg123.de/download/$TARBALL"
13 HANDBOOK_URL='http://www.slitaz.org/doc/handbook/multimedia.html#mpg123'
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 --with-audio=alsa \
23 --with-default-audio=alsa \
24 --with-seektable=0 \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/mpg123
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/mpg123/*.so* $fs/usr/lib/mpg123
36 cp -a $_pkg/usr/bin $fs/usr
37 }