wok-next view faad2/receipt @ rev 7499

Made all firefox-langpack copy files right. Looks like mv can't move folders even with -f option. Used a cp -af then rm -rf instead.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Dec 04 00:03:00 2010 +0000 (2010-12-04)
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 }