wok-6.x view faac/receipt @ rev 24669

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