wok diff faac/receipt @ rev 24941

memtest: add binutils 2.37 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 16 12:43:33 2022 +0000 (2022-04-16)
parents b569b85b0fb9
children
line diff
     1.1 --- a/faac/receipt	Mon Jan 17 18:18:17 2022 +0000
     1.2 +++ b/faac/receipt	Sat Apr 16 12:43:33 2022 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="faac"
     1.7 -VERSION="1.29.9.2"
     1.8 +VERSION="1.30"
     1.9  CATEGORY="multimedia"
    1.10  TAGS="mp4 mpeg encoder"
    1.11  SHORT_DESC="An open source MPEG-4 and MPEG-2 AAC encoder."
    1.12 @@ -10,10 +10,10 @@
    1.13  WEB_SITE="https://github.com/knik0/faac"
    1.14  
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WGET_URL="$SF_MIRROR/faac/$TARBALL"
    1.17 +WGET_URL="$SF_MIRROR/faac/$PACKAGE-${VERSION/./_}.tar.gz"
    1.18  
    1.19  DEPENDS="gcc83-lib-base"
    1.20 -BUILD_DEPENDS="gcc83"
    1.21 +BUILD_DEPENDS="autoconf automake gcc83 libtool"
    1.22  
    1.23  # What is the latest version available today?
    1.24  current_version()
    1.25 @@ -25,10 +25,7 @@
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -#	cd $src/common/mp4v2
    1.30 -#	patch -p0 < $stuff/gcc44.patch || return 1
    1.31 -#	cd ../..
    1.32 -
    1.33 +	./bootstrap &&
    1.34  	./configure				\
    1.35  		CC=gcc-83			\
    1.36  		CXX=g++-83			\
    1.37 @@ -37,14 +34,12 @@
    1.38  		--mandir=/usr/share/man		\
    1.39  		$CONFIGURE_ARGS &&
    1.40  	make &&
    1.41 -	make DESTDIR=$DESTDIR install
    1.42 +	make install DESTDIR=$DESTDIR
    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/lib
    1.49 -
    1.50 -	cp -a $install/usr/bin		$fs/usr
    1.51 -	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.52 +	cook_copy_folders	bin
    1.53 +	cook_copy_files		*.so*
    1.54  }