wok-next annotate faac/receipt @ rev 5148
samba-pam: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 23 22:39:43 2010 +0100 (2010-03-23) |
parents | fb8aceda65ff |
children | 0b4cf0d9e1b5 |
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 |
paul@3856 | 18 patch -p0 < ../../../stuff/gcc44.patch || exit 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 |