wok-4.x view faac/receipt @ rev 4702

squashfs: add lzma support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 03 18:38:54 2010 +0100 (2010-01-03)
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 }