wok-6.x view faac/receipt @ rev 24477
updated dialog and dialog-dev (1.3_20210324 -> 1.3_20220117)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 18 10:50:23 2022 +0100 (2022-02-18) |
parents | f96e26cdfd7a |
children | 6a78d7832b6f |
line source
1 # SliTaz package receipt.
3 PACKAGE="faac"
4 VERSION="1.29.9.2"
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/$TARBALL"
15 DEPENDS="gcc83-lib-base"
16 BUILD_DEPENDS="gcc83"
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 # cd $src/common/mp4v2
29 # patch -p0 < $stuff/gcc44.patch || return 1
30 # cd ../..
32 ./configure \
33 CC=gcc-83 \
34 CXX=g++-83 \
35 --prefix=/usr \
36 --infodir=/usr/share/info \
37 --mandir=/usr/share/man \
38 $CONFIGURE_ARGS &&
39 make &&
40 make DESTDIR=$DESTDIR install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/usr/lib/*.so* $fs/usr/lib
50 }