wok-stable view faad2/receipt @ rev 5573
tcc: add cross compilers
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 15 16:05:09 2010 +0200 (2010-05-15) |
parents | fe884d8ff264 |
children | 0f8dcbf8807b |
line source
1 # SliTaz package receipt.
3 PACKAGE="faad2"
4 VERSION="2.7"
5 CATEGORY="multimedia"
6 SHORT_DESC="FAAD2 is an open source MPEG-4 and MPEG-2 AAC decoder."
7 MAINTAINER="slitaz@kacper.se"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.audiocoding.com"
11 WGET_URL="$SF_MIRROR/faac/$TARBALL"
12 TAGS="decoder mp4 mpeg"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib $fs/usr/bin
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 strip --strip-unneeded $fs/usr/lib/*
33 }