wok diff libao/receipt @ rev 23807

eudev: include relocated udevadm
author Richard Dunbar <mojo@slitaz.org>
date Sun May 24 12:23:14 2020 -0400 (2020-05-24)
parents a78610b2eb47
children 5ea0ce1cecc0
line diff
     1.1 --- a/libao/receipt	Mon Jan 21 12:26:11 2019 +0100
     1.2 +++ b/libao/receipt	Sun May 24 12:23:14 2020 -0400
     1.3 @@ -1,35 +1,42 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libao"
     1.7 -VERSION="1.1.0"
     1.8 +VERSION="1.2.2"
     1.9  CATEGORY="multimedia"
    1.10 -SHORT_DESC="Cross-platform audio output library and plugins"
    1.11 +SHORT_DESC="Cross-platform audio output library and plugins."
    1.12  MAINTAINER="rj.rohit@gmail.com"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://xiph.org/ao/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="https://downloads.xiph.org/releases/ao/" 
    1.18 -WGET_URL="$WEB_SITE/$TARBALL"
    1.19 +WGET_URL="https://github.com/xiph/$PACKAGE/archive/$VERSION.tar.gz"
    1.20 +
    1.21 +DEPENDS="alsa-lib glibc-base"
    1.22 +BUILD_DEPENDS="alsa-lib-dev autoconf automake libtool"
    1.23 +
    1.24  HOST_ARCH="i486 arm"
    1.25  
    1.26 -DEPENDS="glibc-base alsa-lib"
    1.27 -BUILD_DEPENDS="alsa-lib-dev"
    1.28 -
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32 -	./configure \
    1.33 -		--enable-alsa09 \
    1.34 -		--disable-arts \
    1.35 +	./autogen.sh &&
    1.36 +	./configure		\
    1.37 +		--enable-alsa09	\
    1.38 +		--disable-arts	\
    1.39  		$CONFIGURE_ARGS &&
    1.40 -	make && make install
    1.41 +	make &&
    1.42 +	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/lib/ao/plugins-4 $fs/etc
    1.49 -	cp -a $install/usr/lib/ao/plugins-4/*.so $fs/usr/lib/ao/plugins-4
    1.50 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.51 -	# Add conf file
    1.52 -	cp -a $stuff/libao.conf $fs/etc
    1.53 +	mkdir -p $fs/usr/lib/ao/plugins-4
    1.54 +	mkdir -p $fs/etc
    1.55 +
    1.56 +	cp -a $install/usr/lib/ao/plugins-4/*.so	$fs/usr/lib/ao/plugins-4
    1.57 +	cp -a $install/usr/lib/*.so*			$fs/usr/lib
    1.58 +
    1.59 +	# Add configuration file
    1.60 +	cp -a $stuff/libao.conf				$fs/etc
    1.61  }