wok-next annotate lame/receipt @ rev 10092
ncurses: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 07:22:23 2011 +0000 (2011-05-20) |
parents | 55b1ac33b9c7 |
children | 34057f29b149 |
rev | line source |
---|---|
pankso@144 | 1 # SliTaz package receipt. |
pankso@144 | 2 |
pankso@144 | 3 PACKAGE="lame" |
slaxemulator@6227 | 4 VERSION="3.98.4" |
pankso@206 | 5 CATEGORY="multimedia" |
pankso@144 | 6 SHORT_DESC="MPEG Audio Layer III (MP3) encoder." |
pankso@144 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@6227 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2479 | 9 DEPENDS="ncurses" |
pascal@1439 | 10 BUILD_DEPENDS="gtk+-dev ncurses-dev" |
pankso@144 | 11 WEB_SITE="http://lame.sourceforge.net/" |
pankso@144 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@144 | 13 |
pankso@144 | 14 # Rules to configure and make the package. |
pankso@144 | 15 compile_rules() |
pankso@144 | 16 { |
pankso@2016 | 17 mv lame-398-2 $src 2>/dev/null |
pankso@144 | 18 cd $src |
pankso@144 | 19 ./configure \ |
pankso@144 | 20 --prefix=/usr \ |
pankso@144 | 21 --infodir=/usr/share/info \ |
pankso@144 | 22 --mandir=/usr/share/man \ |
pascal@1439 | 23 $CONFIGURE_ARGS && |
pascal@1439 | 24 make && |
pankso@144 | 25 make DESTDIR=$PWD/_pkg install |
pankso@144 | 26 } |
pankso@144 | 27 |
pankso@144 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@144 | 29 genpkg_rules() |
pankso@144 | 30 { |
pankso@144 | 31 mkdir -p $fs/usr/lib |
pankso@144 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@144 | 33 cp -a $_pkg/usr/bin $fs/usr |
pankso@144 | 34 } |