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

Add get-libstdc++5
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 11 19:26:46 2009 +0200 (2009-08-11)
parents
children fb8aceda65ff
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=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.audiocoding.com"
11 WGET_URL="$SF_MIRROR/faac/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src/common/mp4v2
17 patch -p0 < ../../../stuff/gcc44.patch || exit 1
18 cd ../..
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $fs/usr/lib
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 }