wok-6.x view faac/receipt @ rev 10979
jed: Compile with -j1 cause it can't compile on quad core cpu without this.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 12 12:56:28 2011 +0000 (2011-10-12) |
parents | 0b4cf0d9e1b5 |
children | fcdd50638150 |
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 || return 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 }