wok-6.x annotate faac/receipt @ rev 4365
mirage: fix depends
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Oct 10 23:09:05 2009 +0000 (2009-10-10) |
parents | |
children | fb8aceda65ff |
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" |
paul@3856 | 8 DEPENDS="" |
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" |
paul@3856 | 12 |
paul@3856 | 13 # Rules to configure and make the package. |
paul@3856 | 14 compile_rules() |
paul@3856 | 15 { |
paul@3856 | 16 cd $src/common/mp4v2 |
paul@3856 | 17 patch -p0 < ../../../stuff/gcc44.patch || exit 1 |
paul@3856 | 18 cd ../.. |
paul@3856 | 19 ./configure \ |
paul@3856 | 20 --prefix=/usr \ |
paul@3856 | 21 --infodir=/usr/share/info \ |
paul@3856 | 22 --mandir=/usr/share/man \ |
paul@3856 | 23 $CONFIGURE_ARGS && |
paul@3856 | 24 make && make DESTDIR=$PWD/_pkg install |
paul@3856 | 25 } |
paul@3856 | 26 |
paul@3856 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3856 | 28 genpkg_rules() |
paul@3856 | 29 { |
paul@3856 | 30 mkdir -p $fs/usr/bin $fs/usr/lib |
paul@3856 | 31 cp -a $_pkg/usr/bin $fs/usr |
paul@3856 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
paul@3856 | 33 } |
paul@3856 | 34 |