wok-6.x annotate flac/receipt @ rev 4892
Add: ncdu
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Feb 06 18:10:38 2010 +0000 (2010-02-06) |
parents | 1ed1357f1ef2 |
children | fb8aceda65ff |
rev | line source |
---|---|
pankso@292 | 1 # SliTaz package receipt. |
pankso@292 | 2 |
pankso@292 | 3 PACKAGE="flac" |
pankso@2015 | 4 VERSION="1.2.1" |
pankso@292 | 5 CATEGORY="multimedia" |
pankso@292 | 6 SHORT_DESC="FLAC stands for Free Lossless Audio Codec." |
pankso@292 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@292 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1451 | 9 DEPENDS="libogg" |
pascal@1451 | 10 BUILD_DEPENDS="libogg-dev" |
pankso@292 | 11 WEB_SITE="http://flac.sourceforge.net/" |
pankso@292 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@292 | 13 |
pankso@292 | 14 # Rules to configure and make the package. |
pankso@292 | 15 compile_rules() |
pankso@292 | 16 { |
erjo@4217 | 17 # gcc4 fix: http://bugs.gentoo.org/199579 |
erjo@4217 | 18 busybox patch -p0 -i stuff/flac-1.2.1_gcc4.u |
pankso@292 | 19 cd $src |
pankso@292 | 20 ./configure \ |
pankso@292 | 21 --prefix=/usr \ |
pankso@292 | 22 --mandir=/usr/share/man \ |
pascal@1451 | 23 $CONFIGURE_ARGS && |
pascal@1451 | 24 make && |
pankso@292 | 25 make DESTDIR=$PWD/_pkg install |
pankso@292 | 26 } |
pankso@292 | 27 |
pankso@292 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@292 | 29 genpkg_rules() |
pankso@292 | 30 { |
pankso@292 | 31 mkdir -p $fs/usr/lib |
pankso@292 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@292 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@292 | 34 } |
pankso@292 | 35 |