wok view lame/receipt @ rev 1815

Up: gparted to 0.4.1, fix BUILD_DEPENDS and disable doc build.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Dec 05 15:04:32 2008 +0100 (2008-12-05)
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 }