wok rev 25078

updated opusfile and opusfile-dev (0.11 -> 0.12)
author Hans-G?nter Theisgen
date Wed Jun 15 15:02:56 2022 +0100 (2022-06-15)
parents ae58b675745d
children 1b762db897fb
files opusfile-dev/receipt opusfile/receipt
line diff
     1.1 --- a/opusfile-dev/receipt	Wed Jun 15 14:50:09 2022 +0100
     1.2 +++ b/opusfile-dev/receipt	Wed Jun 15 15:02:56 2022 +0100
     1.3 @@ -1,21 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="opusfile-dev"
     1.7 -VERSION="0.11"
     1.8 +VERSION="0.12"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Opus streams in the Ogg container I/O, development files"
    1.11 +SHORT_DESC="Opus streams in the Ogg container I/O, development files."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13 -LICENSE="GPL2"
    1.14 +LICENSE="BSD"
    1.15  WEB_SITE="https://opus-codec.org/"
    1.16 +
    1.17 +DEPENDS="openssl-dev opus-dev opusfile pkg-config"
    1.18  WANTED="opusfile"
    1.19  
    1.20 -DEPENDS="opusfile openssl-dev opus-dev pkg-config"
    1.21 -
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.23  genpkg_rules()
    1.24  {
    1.25 -	mkdir -p $fs/usr/lib
    1.26 -	cp -a $install/usr/include $fs/usr
    1.27 -	cp -a $install/usr/lib/*.a $fs/usr/lib
    1.28 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.29 +	cook_copy_folders	include
    1.30 +	cook_copy_folders	pkgconfig
    1.31 +	cook_copy_files		*.*a
    1.32  }
     2.1 --- a/opusfile/receipt	Wed Jun 15 14:50:09 2022 +0100
     2.2 +++ b/opusfile/receipt	Wed Jun 15 15:02:56 2022 +0100
     2.3 @@ -1,17 +1,18 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="opusfile"
     2.7 -VERSION="0.11"
     2.8 +VERSION="0.12"
     2.9  CATEGORY="multimedia"
    2.10 -SHORT_DESC="Opus streams in the Ogg container I/O"
    2.11 +SHORT_DESC="Opus streams in the Ogg container I/O."
    2.12  MAINTAINER="pascal.bellard@slitaz.org"
    2.13 -LICENSE="GPL2"
    2.14 +LICENSE="BSD"
    2.15 +WEB_SITE="https://opus-codec.org/"
    2.16 +
    2.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.18 -WEB_SITE="https://opus-codec.org/"
    2.19 -WGET_URL="https://downloads.xiph.org/releases/opus/$TARBALL"
    2.20 +WGET_URL="https://github.com/xiph/$PACKAGE/archive/v$VERSION.tar.gz"
    2.21  
    2.22 -DEPENDS="libssl libogg opus"
    2.23 -BUILD_DEPENDS="openssl-dev libogg libogg-dev opus-dev pkg-config"
    2.24 +DEPENDS="libogg libssl opus"
    2.25 +BUILD_DEPENDS="automake libogg libogg-dev libtool openssl-dev opus-dev pkg-config"
    2.26  
    2.27  # What is the latest version available today?
    2.28  current_version()
    2.29 @@ -23,14 +24,16 @@
    2.30  # Rules to configure and make the package.
    2.31  compile_rules()
    2.32  {
    2.33 -	./configure --prefix=/usr \
    2.34 -		$CONFIGURE_ARGS && \
    2.35 -	make && make DESTDIR=$DESTDIR install
    2.36 +	./autogen.sh &&
    2.37 +	./configure		\
    2.38 +		--prefix=/usr	\
    2.39 +		$CONFIGURE_ARGS &&
    2.40 +	make &&
    2.41 +	make install DESTDIR=$DESTDIR
    2.42  }
    2.43  
    2.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.45  genpkg_rules()
    2.46  {
    2.47 -	mkdir -p $fs/usr/lib
    2.48 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.49 +	cook_copy_files	*.so*
    2.50  }