wok-4.x annotate flac/receipt @ rev 5001
[f-g]*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 28 15:33:01 2010 +0100 (2010-02-28) |
parents | fb8aceda65ff |
children | 4bfb6edd3dc2 |
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@5001 | 9 DEPENDS="libogg gcc-lib-base" |
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" |
jozee@4936 | 13 TAGS="codec audio" |
pankso@292 | 14 |
pankso@292 | 15 # Rules to configure and make the package. |
pankso@292 | 16 compile_rules() |
pankso@292 | 17 { |
erjo@4217 | 18 # gcc4 fix: http://bugs.gentoo.org/199579 |
erjo@4217 | 19 busybox patch -p0 -i stuff/flac-1.2.1_gcc4.u |
pankso@292 | 20 cd $src |
pankso@292 | 21 ./configure \ |
pankso@292 | 22 --prefix=/usr \ |
pankso@292 | 23 --mandir=/usr/share/man \ |
pascal@1451 | 24 $CONFIGURE_ARGS && |
pascal@1451 | 25 make && |
pankso@292 | 26 make DESTDIR=$PWD/_pkg install |
pankso@292 | 27 } |
pankso@292 | 28 |
pankso@292 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@292 | 30 genpkg_rules() |
pankso@292 | 31 { |
pankso@292 | 32 mkdir -p $fs/usr/lib |
pankso@292 | 33 cp -a $_pkg/usr/bin $fs/usr |
pankso@292 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@292 | 35 } |
pankso@292 | 36 |