wok-6.x view faac/receipt @ rev 8173

imported patch toolchain/bison.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:49 2011 +0100 (2011-01-27)
parents fb8aceda65ff
children 0b4cf0d9e1b5
line source
1 # SliTaz package receipt.
3 PACKAGE="faac"
4 VERSION="1.28"
5 CATEGORY="multimedia"
6 SHORT_DESC="FAAC is an open source MPEG-4 and MPEG-2 AAC encoder."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="gcc-lib-base"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.audiocoding.com"
11 WGET_URL="$SF_MIRROR/faac/$TARBALL"
12 TAGS="mp4 mpeg encoder"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src/common/mp4v2
18 patch -p0 < ../../../stuff/gcc44.patch || exit 1
19 cd ../..
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 }