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

memtest: add some patches
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 15 16:15:55 2014 +0200 (2014-10-15)
parents d1768332cee0
children 6e8b1bcb30e2
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 LICENSE="GPL2"
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 DEPENDS="gcc-lib-base"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/common/mp4v2
20 patch -p0 < $stuff/gcc44.patch || return 1
21 cd ../..
22 ./configure \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin $fs/usr/lib
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }