wok-4.x view flac/receipt @ rev 5574
intltool: add depend gettext
author | Akim Bey <gokhlayeh@mailoo.org> |
---|---|
date | Sat May 15 14:35:56 2010 +0000 (2010-05-15) |
parents | fb8aceda65ff |
children | 4bfb6edd3dc2 |
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=$PWD/_pkg 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 }