wok view flac/receipt @ rev 15600

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 05 15:25:09 2013 +0000 (2013-12-05)
parents 4bfb6edd3dc2
children c86f53258a6b
line source
1 # SliTaz package receipt.
3 PACKAGE="flac"
4 VERSION="1.2.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="FLAC stands for Free Lossless Audio Codec."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://flac.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="codec audio"
14 DEPENDS="libogg gcc-lib-base"
15 BUILD_DEPENDS="libogg-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # gcc4 fix: http://bugs.gentoo.org/199579
21 busybox patch -p0 -i $stuff/flac-1.2.1_gcc4.u
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }