wok-6.x annotate faad2/receipt @ rev 24723

updated libcap, libcap-dev and libcap-pam (2.33 -> 2.63)
author Hans-G?nter Theisgen
date Tue Mar 15 10:34:20 2022 +0100 (2022-03-15)
parents f96e26cdfd7a
children
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"
pascal@23908 10 WEB_SITE="https://github.com/knik0/faad2"
paul@3855 11 WGET_URL="$SF_MIRROR/faac/$TARBALL"
jozee@4936 12 TAGS="decoder mp4 mpeg"
paul@3855 13
pascal@24308 14 # What is the latest version available today?
pascal@24308 15 current_version()
pascal@24308 16 {
pascal@24308 17 wget -O - $WEB_SITE/releases 2>/dev/null | \
pascal@24308 18 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;s|_|.|g;q'
pascal@24308 19 }
pascal@24308 20
paul@3855 21 # Rules to configure and make the package.
paul@3855 22 compile_rules()
paul@3855 23 {
paul@3855 24 cd $src
paul@3855 25 ./configure \
paul@3855 26 --prefix=/usr \
paul@3855 27 --infodir=/usr/share/info \
paul@3855 28 --mandir=/usr/share/man \
paul@3855 29 $CONFIGURE_ARGS &&
pascal@15588 30 make && make DESTDIR=$DESTDIR install
paul@3855 31 }
paul@3855 32
paul@3855 33 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3855 34 genpkg_rules()
paul@3855 35 {
paul@3855 36 mkdir -p $fs/usr/lib $fs/usr/bin
pascal@15588 37 cp -a $install/usr/bin $fs/usr
pascal@15588 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
paul@3855 39 }
paul@3855 40