wok-6.x view flac/receipt @ rev 16206
Up: nss (3.14.3)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Mon Mar 31 05:10:49 2014 +0000 (2014-03-31) |
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 }