wok-next view flac/receipt @ rev 17033

Add mfstool
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 17 17:55:38 2014 +0200 (2014-08-17)
parents c86f53258a6b
children 2f45bddbfd08
line source
1 # SliTaz package receipt.
3 PACKAGE="flac"
4 VERSION="1.3.0"
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.xz"
10 WEB_SITE="http://flac.sourceforge.net/"
11 WGET_URL="http://downloads.xiph.org/releases/$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 }