wok annotate lame/receipt @ rev 1707
Up: clamav 0.94.1
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Fri Nov 14 15:22:56 2008 +0000 (2008-11-14) |
parents | e0f2bee5b24d |
children | 9acca017c7d0 |
rev | line source |
---|---|
pankso@144 | 1 # SliTaz package receipt. |
pankso@144 | 2 |
pankso@144 | 3 PACKAGE="lame" |
pankso@144 | 4 VERSION="3.97" |
pankso@206 | 5 CATEGORY="multimedia" |
pankso@144 | 6 SHORT_DESC="MPEG Audio Layer III (MP3) encoder." |
pankso@144 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@144 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1439 | 9 BUILD_DEPENDS="gtk+-dev ncurses-dev" |
pankso@144 | 10 WEB_SITE="http://lame.sourceforge.net/" |
pankso@144 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@144 | 12 |
pankso@144 | 13 # Rules to configure and make the package. |
pankso@144 | 14 compile_rules() |
pankso@144 | 15 { |
pankso@144 | 16 cd $src |
pankso@144 | 17 ./configure \ |
pankso@144 | 18 --prefix=/usr \ |
pankso@144 | 19 --infodir=/usr/share/info \ |
pankso@144 | 20 --mandir=/usr/share/man \ |
pascal@1439 | 21 $CONFIGURE_ARGS && |
pascal@1439 | 22 make && |
pankso@144 | 23 make DESTDIR=$PWD/_pkg install |
pankso@144 | 24 } |
pankso@144 | 25 |
pankso@144 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@144 | 27 genpkg_rules() |
pankso@144 | 28 { |
pankso@144 | 29 mkdir -p $fs/usr/lib |
pankso@144 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@144 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@144 | 32 strip -s $fs/usr/lib/* 2>/dev/null |
pankso@144 | 33 strip -s $fs/usr/bin/* 2>/dev/null |
pankso@144 | 34 } |