wok annotate faac/receipt @ rev 20906
perl-glib: fix wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 27 10:53:14 2019 +0100 (2019-02-27) |
parents | fcdd50638150 |
children | 7890eb85b2c0 |
rev | line source |
---|---|
paul@3856 | 1 # SliTaz package receipt. |
paul@3856 | 2 |
paul@3856 | 3 PACKAGE="faac" |
paul@3856 | 4 VERSION="1.28" |
paul@3856 | 5 CATEGORY="multimedia" |
paul@3856 | 6 SHORT_DESC="FAAC is an open source MPEG-4 and MPEG-2 AAC encoder." |
paul@3856 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15588 | 8 LICENSE="GPL2" |
paul@3856 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20671 | 10 WEB_SITE="https://www.audiocoding.com" |
paul@3856 | 11 WGET_URL="$SF_MIRROR/faac/$TARBALL" |
jozee@4936 | 12 TAGS="mp4 mpeg encoder" |
paul@3856 | 13 |
pascal@15588 | 14 DEPENDS="gcc-lib-base" |
pascal@15588 | 15 |
paul@3856 | 16 # Rules to configure and make the package. |
paul@3856 | 17 compile_rules() |
paul@3856 | 18 { |
paul@3856 | 19 cd $src/common/mp4v2 |
slaxemulator@9700 | 20 patch -p0 < $stuff/gcc44.patch || return 1 |
paul@3856 | 21 cd ../.. |
paul@3856 | 22 ./configure \ |
paul@3856 | 23 --prefix=/usr \ |
paul@3856 | 24 --infodir=/usr/share/info \ |
paul@3856 | 25 --mandir=/usr/share/man \ |
paul@3856 | 26 $CONFIGURE_ARGS && |
pascal@15588 | 27 make && make DESTDIR=$DESTDIR install |
paul@3856 | 28 } |
paul@3856 | 29 |
paul@3856 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3856 | 31 genpkg_rules() |
paul@3856 | 32 { |
paul@3856 | 33 mkdir -p $fs/usr/bin $fs/usr/lib |
pascal@15588 | 34 cp -a $install/usr/bin $fs/usr |
pascal@15588 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
paul@3856 | 36 } |
paul@3856 | 37 |