wok-stable view lame/receipt @ rev 5446

broadcom-wl: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 05 12:48:19 2010 +0200 (2010-05-05)
parents 9acca017c7d0
children 5799b906dd32
line source
1 # SliTaz package receipt.
3 PACKAGE="lame"
4 VERSION="3.98.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="MPEG Audio Layer III (MP3) encoder."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-398-2.tar.gz"
9 DEPENDS="ncurses"
10 BUILD_DEPENDS="gtk+-dev ncurses-dev"
11 WEB_SITE="http://lame.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mv lame-398-2 $src 2>/dev/null
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/bin $fs/usr
34 }