wok-current view faac/receipt @ rev 9785
gen-init-cpio: fix build
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 12 15:15:03 2011 +0200 (2011-05-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 }