wok annotate faac/receipt @ rev 24534

updated faac and faac-dev (1.29.9.2 -> 1.30)
author Hans-G?nter Theisgen
date Wed Feb 23 11:28:45 2022 +0100 (2022-02-23)
parents b569b85b0fb9
children
rev   line source
paul@3856 1 # SliTaz package receipt.
paul@3856 2
paul@3856 3 PACKAGE="faac"
Hans-G?nter@24534 4 VERSION="1.30"
paul@3856 5 CATEGORY="multimedia"
Hans-G?nter@22714 6 TAGS="mp4 mpeg encoder"
Hans-G?nter@22714 7 SHORT_DESC="An open source MPEG-4 and MPEG-2 AAC encoder."
paul@3856 8 MAINTAINER="paul@slitaz.org"
pascal@15588 9 LICENSE="GPL2"
pascal@23908 10 WEB_SITE="https://github.com/knik0/faac"
Hans-G?nter@22714 11
paul@3856 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24534 13 WGET_URL="$SF_MIRROR/faac/$PACKAGE-${VERSION/./_}.tar.gz"
paul@3856 14
Hans-G?nter@22714 15 DEPENDS="gcc83-lib-base"
Hans-G?nter@24534 16 BUILD_DEPENDS="autoconf automake gcc83 libtool"
pascal@15588 17
pascal@24308 18 # What is the latest version available today?
pascal@24308 19 current_version()
pascal@24308 20 {
pascal@24308 21 wget -O - $WEB_SITE/tags 2>/dev/null | \
pascal@24308 22 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;s|_|.|g;q'
pascal@24308 23 }
pascal@24308 24
paul@3856 25 # Rules to configure and make the package.
paul@3856 26 compile_rules()
paul@3856 27 {
Hans-G?nter@24534 28 ./bootstrap &&
Hans-G?nter@22714 29 ./configure \
Hans-G?nter@22714 30 CC=gcc-83 \
Hans-G?nter@22714 31 CXX=g++-83 \
Hans-G?nter@22714 32 --prefix=/usr \
Hans-G?nter@22714 33 --infodir=/usr/share/info \
Hans-G?nter@22714 34 --mandir=/usr/share/man \
paul@3856 35 $CONFIGURE_ARGS &&
Hans-G?nter@22714 36 make &&
Hans-G?nter@24534 37 make install DESTDIR=$DESTDIR
paul@3856 38 }
paul@3856 39
paul@3856 40 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3856 41 genpkg_rules()
paul@3856 42 {
Hans-G?nter@24534 43 cook_copy_folders bin
Hans-G?nter@24534 44 cook_copy_files *.so*
paul@3856 45 }