wok view flac/receipt @ rev 14569
Up xorg-libXp (1.0.2), xorg-libXinerama (1.1.3), xorg-libXi (1.7.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 24 12:05:11 2013 +0200 (2013-05-24) |
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 }