wok-6.x annotate faac/receipt @ rev 16718
Add pifmrds (does not build yet)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 01 17:53:40 2014 +0000 (2014-06-01) |
parents | d1768332cee0 |
children | 6e8b1bcb30e2 |
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@15588 | 8 LICENSE="GPL2" |
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 |
pascal@15588 | 14 DEPENDS="gcc-lib-base" |
pascal@15588 | 15 |
paul@3856 | 16 # Rules to configure and make the package. |
paul@3856 | 17 compile_rules() |
paul@3856 | 18 { |
paul@3856 | 19 cd $src/common/mp4v2 |
slaxemulator@9700 | 20 patch -p0 < $stuff/gcc44.patch || return 1 |
paul@3856 | 21 cd ../.. |
paul@3856 | 22 ./configure \ |
paul@3856 | 23 --prefix=/usr \ |
paul@3856 | 24 --infodir=/usr/share/info \ |
paul@3856 | 25 --mandir=/usr/share/man \ |
paul@3856 | 26 $CONFIGURE_ARGS && |
pascal@15588 | 27 make && make DESTDIR=$DESTDIR install |
paul@3856 | 28 } |
paul@3856 | 29 |
paul@3856 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3856 | 31 genpkg_rules() |
paul@3856 | 32 { |
paul@3856 | 33 mkdir -p $fs/usr/bin $fs/usr/lib |
pascal@15588 | 34 cp -a $install/usr/bin $fs/usr |
pascal@15588 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
paul@3856 | 36 } |
paul@3856 | 37 |