wok-current rev 23002

updated libao and libao-dev (1.1.0 -> 1.2.2)
author Hans-G?nter Theisgen
date Mon Mar 02 17:05:10 2020 +0100 (2020-03-02)
parents d2f1ecac9d81
children c0da92783a87
files libao-dev/receipt libao/receipt
line diff
     1.1 --- a/libao-dev/receipt	Mon Mar 02 16:49:47 2020 +0100
     1.2 +++ b/libao-dev/receipt	Mon Mar 02 17:05:10 2020 +0100
     1.3 @@ -1,26 +1,27 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libao-dev"
     1.7 -VERSION="1.1.0"
     1.8 +VERSION="1.2.2"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="libao devel files"
    1.11 +SHORT_DESC="libao development files."
    1.12  MAINTAINER="rj.rohit@gmail.com"
    1.13  LICENSE="GPL2"
    1.14 -WANTED="libao"
    1.15 -WEB_SITE="https://downloads.xiph.org/releases/ao/" 
    1.16 -HOST_ARCH="i486 arm"
    1.17 +WEB_SITE="https://xiph.org/ao/"
    1.18  
    1.19  DEPENDS="pkg-config"
    1.20 +WANTED="libao"
    1.21 +
    1.22 +HOST_ARCH="i486 arm"
    1.23  
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {
    1.27 -	mkdir -p \
    1.28 -		$fs/usr/lib/ao/plugins-4 \
    1.29 -		$fs/usr/share
    1.30 -	cp -a $install/usr/lib/ao/plugins-4/*.la $fs/usr/lib/ao/plugins-4
    1.31 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.32 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.33 -	cp -a $install/usr/include $fs/usr
    1.34 -	cp -a $install/usr/share/aclocal $fs/usr/share
    1.35 +	mkdir -p $fs/usr/lib/ao/plugins-4
    1.36 +	mkdir -p $fs/usr/share
    1.37 +
    1.38 +	cp -a $install/usr/lib/ao/plugins-4/*.la	$fs/usr/lib/ao/plugins-4
    1.39 +	cp -a $install/usr/lib/*.*a			$fs/usr/lib
    1.40 +	cp -a $install/usr/lib/pkgconfig		$fs/usr/lib
    1.41 +	cp -a $install/usr/include			$fs/usr
    1.42 +	cp -a $install/usr/share/aclocal		$fs/usr/share
    1.43  }
     2.1 --- a/libao/receipt	Mon Mar 02 16:49:47 2020 +0100
     2.2 +++ b/libao/receipt	Mon Mar 02 17:05:10 2020 +0100
     2.3 @@ -1,35 +1,42 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libao"
     2.7 -VERSION="1.1.0"
     2.8 +VERSION="1.2.2"
     2.9  CATEGORY="multimedia"
    2.10 -SHORT_DESC="Cross-platform audio output library and plugins"
    2.11 +SHORT_DESC="Cross-platform audio output library and plugins."
    2.12  MAINTAINER="rj.rohit@gmail.com"
    2.13  LICENSE="GPL2"
    2.14 +WEB_SITE="https://xiph.org/ao/"
    2.15 +
    2.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.17 -WEB_SITE="https://downloads.xiph.org/releases/ao/" 
    2.18 -WGET_URL="$WEB_SITE/$TARBALL"
    2.19 +WGET_URL="https://github.com/xiph/$PACKAGE/archive/$VERSION.tar.gz"
    2.20 +
    2.21 +DEPENDS="alsa-lib glibc-base"
    2.22 +BUILD_DEPENDS="alsa-lib-dev autoconf automake libtool"
    2.23 +
    2.24  HOST_ARCH="i486 arm"
    2.25  
    2.26 -DEPENDS="glibc-base alsa-lib"
    2.27 -BUILD_DEPENDS="alsa-lib-dev"
    2.28 -
    2.29  # Rules to configure and make the package.
    2.30  compile_rules()
    2.31  {
    2.32 -	./configure \
    2.33 -		--enable-alsa09 \
    2.34 -		--disable-arts \
    2.35 +	./autogen.sh &&
    2.36 +	./configure		\
    2.37 +		--enable-alsa09	\
    2.38 +		--disable-arts	\
    2.39  		$CONFIGURE_ARGS &&
    2.40 -	make && make install
    2.41 +	make &&
    2.42 +	make install
    2.43  }
    2.44  
    2.45  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.46  genpkg_rules()
    2.47  {
    2.48 -	mkdir -p $fs/usr/lib/ao/plugins-4 $fs/etc
    2.49 -	cp -a $install/usr/lib/ao/plugins-4/*.so $fs/usr/lib/ao/plugins-4
    2.50 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.51 -	# Add conf file
    2.52 -	cp -a $stuff/libao.conf $fs/etc
    2.53 +	mkdir -p $fs/usr/lib/ao/plugins-4
    2.54 +	mkdir -p $fs/etc
    2.55 +
    2.56 +	cp -a $install/usr/lib/ao/plugins-4/*.so	$fs/usr/lib/ao/plugins-4
    2.57 +	cp -a $install/usr/lib/*.so*			$fs/usr/lib
    2.58 +
    2.59 +	# Add configuration file
    2.60 +	cp -a $stuff/libao.conf				$fs/etc
    2.61  }