wok-6.x annotate flac/receipt @ rev 4936

add/improve TAGS f* receipts
author Rohit Joshi <jozee@slitaz.org>
date Tue Feb 16 13:56:26 2010 +0000 (2010-02-16)
parents 1a3abaa653cc
children 9f19aee613be
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"
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