wok-next annotate faac/receipt @ rev 14362

ffmpeg: add avresample
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 20 14:34:09 2013 +0200 (2013-04-20)
parents 0b4cf0d9e1b5
children fcdd50638150
rev   line source
paul@3856 1 # SliTaz package receipt.
paul@3856 2
paul@3856 3 PACKAGE="faac"
paul@3856 4 VERSION="1.28"
paul@3856 5 CATEGORY="multimedia"
paul@3856 6 SHORT_DESC="FAAC is an open source MPEG-4 and MPEG-2 AAC encoder."
paul@3856 7 MAINTAINER="paul@slitaz.org"
pascal@5001 8 DEPENDS="gcc-lib-base"
paul@3856 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@3856 10 WEB_SITE="http://www.audiocoding.com"
paul@3856 11 WGET_URL="$SF_MIRROR/faac/$TARBALL"
jozee@4936 12 TAGS="mp4 mpeg encoder"
paul@3856 13
paul@3856 14 # Rules to configure and make the package.
paul@3856 15 compile_rules()
paul@3856 16 {
paul@3856 17 cd $src/common/mp4v2
slaxemulator@9700 18 patch -p0 < $stuff/gcc44.patch || return 1
paul@3856 19 cd ../..
paul@3856 20 ./configure \
paul@3856 21 --prefix=/usr \
paul@3856 22 --infodir=/usr/share/info \
paul@3856 23 --mandir=/usr/share/man \
paul@3856 24 $CONFIGURE_ARGS &&
paul@3856 25 make && make DESTDIR=$PWD/_pkg install
paul@3856 26 }
paul@3856 27
paul@3856 28 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3856 29 genpkg_rules()
paul@3856 30 {
paul@3856 31 mkdir -p $fs/usr/bin $fs/usr/lib
paul@3856 32 cp -a $_pkg/usr/bin $fs/usr
paul@3856 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
paul@3856 34 }
paul@3856 35