wok-6.x annotate faac/receipt @ rev 7637
Up: clutter to 1.4.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Dec 13 18:41:21 2010 +0000 (2010-12-13) |
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 |