wok-6.x annotate faac/receipt @ rev 24005

cdrkit: force catalog sort weight
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 19 09:09:36 2021 +0000 (2021-01-19)
parents 7890eb85b2c0
children b569b85b0fb9
rev   line source
paul@3856 1 # SliTaz package receipt.
paul@3856 2
paul@3856 3 PACKAGE="faac"
Hans-G?nter@22714 4 VERSION="1.29.9.2"
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"
paul@3856 13 WGET_URL="$SF_MIRROR/faac/$TARBALL"
paul@3856 14
Hans-G?nter@22714 15 DEPENDS="gcc83-lib-base"
Hans-G?nter@22714 16 BUILD_DEPENDS="gcc83"
pascal@15588 17
paul@3856 18 # Rules to configure and make the package.
paul@3856 19 compile_rules()
paul@3856 20 {
Hans-G?nter@22714 21 # cd $src/common/mp4v2
Hans-G?nter@22714 22 # patch -p0 < $stuff/gcc44.patch || return 1
Hans-G?nter@22714 23 # cd ../..
Hans-G?nter@22714 24
Hans-G?nter@22714 25 ./configure \
Hans-G?nter@22714 26 CC=gcc-83 \
Hans-G?nter@22714 27 CXX=g++-83 \
Hans-G?nter@22714 28 --prefix=/usr \
Hans-G?nter@22714 29 --infodir=/usr/share/info \
Hans-G?nter@22714 30 --mandir=/usr/share/man \
paul@3856 31 $CONFIGURE_ARGS &&
Hans-G?nter@22714 32 make &&
Hans-G?nter@22714 33 make DESTDIR=$DESTDIR install
paul@3856 34 }
paul@3856 35
paul@3856 36 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3856 37 genpkg_rules()
paul@3856 38 {
Hans-G?nter@22714 39 mkdir -p $fs/usr/lib
Hans-G?nter@22714 40
Hans-G?nter@22714 41 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22714 42 cp -a $install/usr/lib/*.so* $fs/usr/lib
paul@3856 43 }