wok-6.x annotate lame/receipt @ rev 417
get-skype, get-flash-plugin: check we are root
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 12 19:54:03 2008 +0000 (2008-03-12) |
parents | 517c105b1c0f |
children | 3e8ffa6ff731 |
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" |
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 } |