wok view lame/receipt @ rev 432
lxpanel: do not write into /usr
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 14 13:29:29 2008 +0000 (2008-03-14) |
parents | 517c105b1c0f |
children | 3e8ffa6ff731 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lame"
4 VERSION="3.97"
5 CATEGORY="multimedia"
6 SHORT_DESC="MPEG Audio Layer III (MP3) encoder."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://lame.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure \
17 --prefix=/usr \
18 --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS
21 make
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 strip -s $fs/usr/lib/* 2>/dev/null
32 strip -s $fs/usr/bin/* 2>/dev/null
33 }