wok-next view lame/receipt @ rev 1595

clamav: adduser before chown
author Paul Issott <paul@slitaz.org>
date Fri Oct 17 16:25:04 2008 +0000 (2008-10-17)
parents e0f2bee5b24d
children 9acca017c7d0
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 BUILD_DEPENDS="gtk+-dev ncurses-dev"
10 WEB_SITE="http://lame.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 cp -a $_pkg/usr/bin $fs/usr
32 strip -s $fs/usr/lib/* 2>/dev/null
33 strip -s $fs/usr/bin/* 2>/dev/null
34 }