wok-current annotate flac/receipt @ rev 15588
arj: ugly ack
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 02 16:43:36 2013 +0000 (2013-12-02) |
parents | 4bfb6edd3dc2 |
children | c86f53258a6b |
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" |
pascal@15588 | 8 LICENSE="GPL2 LGPL2.1" |
pankso@292 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@292 | 10 WEB_SITE="http://flac.sourceforge.net/" |
pankso@292 | 11 WGET_URL="$SF_MIRROR/$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 |