wok-current view flac/receipt @ rev 14590

drbl: its really hard to find all deps - ok, add some of them; also shrink loooong 'short desc' and add description
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon May 27 00:27:59 2013 +0000 (2013-05-27)
parents 9f19aee613be
children fcdd50638150
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="libogg gcc-lib-base"
10 BUILD_DEPENDS="libogg-dev"
11 WEB_SITE="http://flac.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="codec audio"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 # gcc4 fix: http://bugs.gentoo.org/199579
19 busybox patch -p0 -i $stuff/flac-1.2.1_gcc4.u
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 }