wok-next diff faac/receipt @ rev 19962
Up mosh (1.3.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 17 11:01:20 2017 +0200 (2017-10-17) |
parents | fcdd50638150 |
children | 835b3b8ce6ac |
line diff
1.1 --- a/faac/receipt Mon Dec 02 16:43:36 2013 +0000 1.2 +++ b/faac/receipt Tue Oct 17 11:01:20 2017 +0200 1.3 @@ -1,37 +1,36 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="faac" 1.8 VERSION="1.28" 1.9 CATEGORY="multimedia" 1.10 -SHORT_DESC="FAAC is an open source MPEG-4 and MPEG-2 AAC encoder." 1.11 +SHORT_DESC="Open source MPEG-4 and MPEG-2 AAC encoder" 1.12 MAINTAINER="paul@slitaz.org" 1.13 LICENSE="GPL2" 1.14 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 -WEB_SITE="http://www.audiocoding.com" 1.16 +WEB_SITE="http://www.audiocoding.com/" 1.17 + 1.18 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.19 WGET_URL="$SF_MIRROR/faac/$TARBALL" 1.20 -TAGS="mp4 mpeg encoder" 1.21 1.22 -DEPENDS="gcc-lib-base" 1.23 +SPLIT="faac-dev" 1.24 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 { 1.28 - cd $src/common/mp4v2 1.29 - patch -p0 < $stuff/gcc44.patch || return 1 1.30 - cd ../.. 1.31 + # http://www.linuxfromscratch.org/blfs/view/stable/multimedia/faac.html 1.32 + sed -i -e '/obj-type/d' -e '/Long Term/d' frontend/main.c && 1.33 + 1.34 + CFLAGS=-std=c99 CXXFLAGS=-std=c++98 \ 1.35 ./configure \ 1.36 - --prefix=/usr \ 1.37 - --infodir=/usr/share/info \ 1.38 - --mandir=/usr/share/man \ 1.39 + --disable-static \ 1.40 $CONFIGURE_ARGS && 1.41 - make && make DESTDIR=$DESTDIR install 1.42 + make && make install 1.43 } 1.44 1.45 # Rules to gen a SliTaz package suitable for Tazpkg. 1.46 genpkg_rules() 1.47 { 1.48 - mkdir -p $fs/usr/bin $fs/usr/lib 1.49 - cp -a $install/usr/bin $fs/usr 1.50 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.51 + case $PACKAGE in 1.52 + faac) copy @std; TAGS="mp4 mpeg encoder";; 1.53 + *-dev) copy @dev;; 1.54 + esac 1.55 } 1.56 -