wok annotate lame/receipt @ rev 5913
ffmpeg-svn: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 27 11:17:36 2010 +0200 (2010-07-27) |
parents | 9acca017c7d0 |
children | 5799b906dd32 |
rev | line source |
---|---|
pankso@144 | 1 # SliTaz package receipt. |
pankso@144 | 2 |
pankso@144 | 3 PACKAGE="lame" |
pankso@2016 | 4 VERSION="3.98.2" |
pankso@206 | 5 CATEGORY="multimedia" |
pankso@144 | 6 SHORT_DESC="MPEG Audio Layer III (MP3) encoder." |
pankso@144 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@2016 | 8 TARBALL="$PACKAGE-398-2.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 } |