wok view faad2/receipt @ rev 11806

sdcc: fix cp -u
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 25 16:25:09 2012 +0100 (2012-02-25)
parents fb8aceda65ff
children fcdd50638150
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.audiocoding.com"
10 WGET_URL="$SF_MIRROR/faac/$TARBALL"
11 TAGS="decoder mp4 mpeg"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make && make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib $fs/usr/bin
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }