wok-next diff alsa-plugins/receipt @ rev 20545

vmtouch: create $install/usr/bin path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 03 15:08:22 2018 +0200 (2018-04-03)
parents a73d738315e8
children 835b3b8ce6ac
line diff
     1.1 --- a/alsa-plugins/receipt	Sun Feb 23 02:51:39 2014 +0100
     1.2 +++ b/alsa-plugins/receipt	Tue Apr 03 15:08:22 2018 +0200
     1.3 @@ -1,32 +1,27 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="alsa-plugins"
     1.8 -VERSION="1.0.27"
     1.9 +VERSION="1.1.5"
    1.10  CATEGORY="multimedia"
    1.11 -SHORT_DESC="Alsa sound system additionnal plugins."
    1.12 +SHORT_DESC="ALSA sound system additionnal plugins"
    1.13  MAINTAINER="pankso@slitaz.org"
    1.14  LICENSE="LGPL2.1"
    1.15 +WEB_SITE="http://www.alsa-project.org/"
    1.16 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/multimedia/alsa-plugins.html"
    1.17 +
    1.18  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.19 -WEB_SITE="http://www.alsa-project.org/"
    1.20  WGET_URL="ftp://ftp.alsa-project.org/pub/plugins/$TARBALL"
    1.21  
    1.22 -DEPENDS="alsa-lib libsamplerate speex"
    1.23 -BUILD_DEPENDS="pkg-config alsa-lib-dev libsamplerate-dev speex-dev"
    1.24 +BUILD_DEPENDS="alsa-lib-dev libsamplerate-dev speex-dev"
    1.25  
    1.26 -# Rules to configure and make the package.
    1.27 -compile_rules()
    1.28 -{
    1.29 -	cd $src
    1.30 +compile_rules() {
    1.31  	./configure \
    1.32 -		--prefix=/usr \
    1.33  		$CONFIGURE_ARGS &&
    1.34  	make &&
    1.35 -	make -j1 DESTDIR=$DESTDIR install
    1.36 +	make -j1 install
    1.37  }
    1.38  
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 -	mkdir -p $fs/usr/lib/alsa-lib
    1.43 -	cp -a $install/usr/lib/alsa-lib/*.so $fs/usr/lib/alsa-lib
    1.44 +genpkg_rules() {
    1.45 +	copy @std
    1.46 +	DEPENDS="alsa-lib libsamplerate speex"
    1.47  }