wok-6.x annotate flac/receipt @ rev 15844
dosfstools, flac: update WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 27 11:21:33 2014 +0000 (2014-01-27) |
parents | c86f53258a6b |
children | 2f45bddbfd08 |
rev | line source |
---|---|
pankso@292 | 1 # SliTaz package receipt. |
pankso@292 | 2 |
pankso@292 | 3 PACKAGE="flac" |
slaxemulator@15839 | 4 VERSION="1.3.0" |
pankso@292 | 5 CATEGORY="multimedia" |
pankso@292 | 6 SHORT_DESC="FLAC stands for Free Lossless Audio Codec." |
pankso@292 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15588 | 8 LICENSE="GPL2 LGPL2.1" |
pascal@15844 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@292 | 10 WEB_SITE="http://flac.sourceforge.net/" |
pascal@15844 | 11 WGET_URL="http://downloads.xiph.org/releases/$PACKAGE/$TARBALL" |
jozee@4936 | 12 TAGS="codec audio" |
pankso@292 | 13 |
pascal@15588 | 14 DEPENDS="libogg gcc-lib-base" |
pascal@15588 | 15 BUILD_DEPENDS="libogg-dev" |
pascal@15588 | 16 |
pankso@292 | 17 # Rules to configure and make the package. |
pankso@292 | 18 compile_rules() |
pankso@292 | 19 { |
erjo@4217 | 20 # gcc4 fix: http://bugs.gentoo.org/199579 |
pankso@9806 | 21 busybox patch -p0 -i $stuff/flac-1.2.1_gcc4.u |
pankso@292 | 22 cd $src |
pankso@292 | 23 ./configure \ |
pankso@292 | 24 --prefix=/usr \ |
pankso@292 | 25 --mandir=/usr/share/man \ |
pascal@1451 | 26 $CONFIGURE_ARGS && |
pascal@1451 | 27 make && |
pankso@9806 | 28 make DESTDIR=$DESTDIR install |
pankso@292 | 29 } |
pankso@292 | 30 |
pankso@292 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@292 | 32 genpkg_rules() |
pankso@292 | 33 { |
pankso@292 | 34 mkdir -p $fs/usr/lib |
pascal@15588 | 35 cp -a $install/usr/bin $fs/usr |
pascal@15588 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@292 | 37 } |
pankso@292 | 38 |