wok-4.x annotate lame/receipt @ rev 175
Adding SHORT_DESC
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Feb 01 22:04:04 2008 +0100 (2008-02-01) |
parents | |
children | e0f2bee5b24d |
rev | line source |
---|---|
pankso@144 | 1 # SliTaz package receipt. |
pankso@144 | 2 |
pankso@144 | 3 PACKAGE="lame" |
pankso@144 | 4 VERSION="3.97" |
pankso@144 | 5 CATEGORY="extra" |
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" |
pankso@144 | 9 WEB_SITE="http://lame.sourceforge.net/" |
pankso@144 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@144 | 11 |
pankso@144 | 12 # Rules to configure and make the package. |
pankso@144 | 13 compile_rules() |
pankso@144 | 14 { |
pankso@144 | 15 cd $src |
pankso@144 | 16 ./configure \ |
pankso@144 | 17 --prefix=/usr \ |
pankso@144 | 18 --infodir=/usr/share/info \ |
pankso@144 | 19 --mandir=/usr/share/man \ |
pankso@144 | 20 $CONFIGURE_ARGS |
pankso@144 | 21 make |
pankso@144 | 22 make DESTDIR=$PWD/_pkg install |
pankso@144 | 23 } |
pankso@144 | 24 |
pankso@144 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@144 | 26 genpkg_rules() |
pankso@144 | 27 { |
pankso@144 | 28 mkdir -p $fs/usr/lib |
pankso@144 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@144 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@144 | 31 strip -s $fs/usr/lib/* 2>/dev/null |
pankso@144 | 32 strip -s $fs/usr/bin/* 2>/dev/null |
pankso@144 | 33 } |