wok-stable annotate faad2/receipt @ rev 4239

task: fix WGET (again)
author Paul Issott <paul@slitaz.org>
date Thu Sep 24 17:50:39 2009 +0000 (2009-09-24)
parents
children fb8aceda65ff
rev   line source
paul@3855 1 # SliTaz package receipt.
paul@3855 2
paul@3855 3 PACKAGE="faad2"
paul@3855 4 VERSION="2.7"
paul@3855 5 CATEGORY="multimedia"
paul@3855 6 SHORT_DESC="FAAD2 is an open source MPEG-4 and MPEG-2 AAC decoder."
paul@3855 7 MAINTAINER="slitaz@kacper.se"
paul@3855 8 DEPENDS=""
paul@3855 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@3855 10 WEB_SITE="http://www.audiocoding.com"
paul@3855 11 WGET_URL="$SF_MIRROR/faac/$TARBALL"
paul@3855 12
paul@3855 13 # Rules to configure and make the package.
paul@3855 14 compile_rules()
paul@3855 15 {
paul@3855 16 cd $src
paul@3855 17 ./configure \
paul@3855 18 --prefix=/usr \
paul@3855 19 --infodir=/usr/share/info \
paul@3855 20 --mandir=/usr/share/man \
paul@3855 21 $CONFIGURE_ARGS &&
paul@3855 22 make && make DESTDIR=$PWD/_pkg install
paul@3855 23 }
paul@3855 24
paul@3855 25 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3855 26 genpkg_rules()
paul@3855 27 {
paul@3855 28 mkdir -p $fs/usr/lib $fs/usr/bin
paul@3855 29 cp -a $_pkg/usr/bin $fs/usr
paul@3855 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
paul@3855 31 strip --strip-unneeded $fs/usr/lib/*
paul@3855 32 }
paul@3855 33