wok-next diff faac/receipt @ rev 20612

Up autofs (5.1.4), c-ares, curl (7.58.0)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 19 23:07:29 2018 +0300 (2018-04-19)
parents 0e8dadf052b9
children 690e7cc036d5
line diff
     1.1 --- a/faac/receipt	Thu Jul 27 00:56:44 2017 +0300
     1.2 +++ b/faac/receipt	Thu Apr 19 23:07:29 2018 +0300
     1.3 @@ -7,28 +7,26 @@
     1.4  MAINTAINER="paul@slitaz.org"
     1.5  LICENSE="GPL2"
     1.6  WEB_SITE="http://www.audiocoding.com/"
     1.7 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/multimedia/faac.html"
     1.8  
     1.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.10  WGET_URL="$SF_MIRROR/faac/$TARBALL"
    1.11  
    1.12  SPLIT="faac-dev"
    1.13  
    1.14 -# Rules to configure and make the package.
    1.15 -compile_rules()
    1.16 -{
    1.17 -	# http://www.linuxfromscratch.org/blfs/view/stable/multimedia/faac.html
    1.18 -	sed -i -e '/obj-type/d' -e '/Long Term/d' frontend/main.c &&
    1.19 +compile_rules() {
    1.20 +	sed -i '/obj-type/d; /Long Term/d' frontend/main.c
    1.21  
    1.22  	CFLAGS=-std=c99 CXXFLAGS=-std=c++98 \
    1.23  	./configure \
    1.24  		--disable-static \
    1.25  		$CONFIGURE_ARGS &&
    1.26 -	make && make install
    1.27 +	fix libtool &&
    1.28 +	make &&
    1.29 +	make install
    1.30  }
    1.31  
    1.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 -genpkg_rules()
    1.34 -{
    1.35 +genpkg_rules() {
    1.36  	case $PACKAGE in
    1.37  		faac)  copy @std; TAGS="mp4 mpeg encoder";;
    1.38  		*-dev) copy @dev;;