wok-next annotate faad2/receipt @ rev 18932
raine: use EXTRA_SOURCE_FILES to track the sources files (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 26 18:58:31 2016 +0100 (2016-02-26) |
parents | 0f8dcbf8807b |
children | daa754d4b004 |
rev | line source |
---|---|
paul@3855 | 1 # SliTaz package receipt. |
paul@3855 | 2 |
paul@3855 | 3 PACKAGE="faad2" |
paul@3855 | 4 VERSION="2.7" |
paul@3855 | 5 CATEGORY="multimedia" |
paul@3855 | 6 SHORT_DESC="FAAD2 is an open source MPEG-4 and MPEG-2 AAC decoder." |
paul@3855 | 7 MAINTAINER="slitaz@kacper.se" |
pascal@15588 | 8 LICENSE="GPL2" |
paul@3855 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@3855 | 10 WEB_SITE="http://www.audiocoding.com" |
paul@3855 | 11 WGET_URL="$SF_MIRROR/faac/$TARBALL" |
jozee@4936 | 12 TAGS="decoder mp4 mpeg" |
paul@3855 | 13 |
paul@3855 | 14 # Rules to configure and make the package. |
paul@3855 | 15 compile_rules() |
paul@3855 | 16 { |
paul@3855 | 17 cd $src |
paul@3855 | 18 ./configure \ |
paul@3855 | 19 --prefix=/usr \ |
paul@3855 | 20 --infodir=/usr/share/info \ |
paul@3855 | 21 --mandir=/usr/share/man \ |
paul@3855 | 22 $CONFIGURE_ARGS && |
pascal@15588 | 23 make && make DESTDIR=$DESTDIR install |
paul@3855 | 24 } |
paul@3855 | 25 |
paul@3855 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3855 | 27 genpkg_rules() |
paul@3855 | 28 { |
paul@3855 | 29 mkdir -p $fs/usr/lib $fs/usr/bin |
pascal@15588 | 30 cp -a $install/usr/bin $fs/usr |
pascal@15588 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
paul@3855 | 32 } |
paul@3855 | 33 |