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

ipxe: add local boot
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 26 10:44:25 2013 +0000 (2013-10-26)
parents 9f19aee613be
children fcdd50638150
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
pankso@9806 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@9806 26 make DESTDIR=$DESTDIR 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