wok rev 13627

Up: alsa-utils (1.0.26) Fix missing /usr/share/alsa/init files and udev rules
author Christophe Lincoln <pankso@slitaz.org>
date Wed Nov 14 21:45:15 2012 +0100 (2012-11-14)
parents 611b193465d2
children 3ecfe5659741
files alsa-utils/receipt
line diff
     1.1 --- a/alsa-utils/receipt	Wed Nov 14 21:43:11 2012 +0100
     1.2 +++ b/alsa-utils/receipt	Wed Nov 14 21:45:15 2012 +0100
     1.3 @@ -1,17 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="alsa-utils"
     1.7 -VERSION="1.0.25"
     1.8 +VERSION="1.0.26"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="Alsa sound system utilities et config tools."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 -DEPENDS="alsa-lib ncurses util-linux-getopt"
    1.13 -BUILD_DEPENDS="alsa-lib alsa-lib-dev ncurses-dev"
    1.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15  WEB_SITE="http://www.alsa-project.org/"
    1.16 -WGET_URL="ftp://ftp.alsa-project.org/pub/utils/$TARBALL"
    1.17 +#WGET_URL="ftp://ftp.alsa-project.org/pub/utils/$TARBALL"
    1.18 +WGET_URL="http://alsa.cybermirror.org/utils/$TARBALL"
    1.19  CONFIG_FILES="/var/lib/alsa/asound.state"
    1.20  
    1.21 +DEPENDS="alsa-lib ncurses util-linux-getopt"
    1.22 +BUILD_DEPENDS="alsa-lib-dev ncurses-dev"
    1.23 +
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 @@ -29,17 +31,24 @@
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31 -	mkdir -p $fs/usr $fs/var/lib/alsa $fs/etc
    1.32 -	touch $fs/etc/asound.state
    1.33 -	cp -a $_pkg/usr/bin $fs/usr
    1.34 -	cp -a $_pkg/usr/sbin $fs/usr
    1.35 +	mkdir -p $fs/usr/share/alsa $fs/var/lib/alsa $fs/etc
    1.36 +	#touch $fs/etc/asound.state
    1.37 +	cp -a $install/usr/bin $fs/usr
    1.38 +	cp -a $install/usr/sbin $fs/usr
    1.39 +	cp -a $install/lib/udev $fs/etc
    1.40 +	cp -a $install/usr/share/alsa/init $fs/usr/share/alsa
    1.41 +	
    1.42 +	# Declare asound.state
    1.43  	touch $fs/var/lib/alsa/asound.state
    1.44  	chmod 755 $fs/usr/sbin/*
    1.45 +	
    1.46  	# Remove speaker-test (18 Ko and needs sounds)
    1.47  	rm $fs/usr/bin/speaker-test
    1.48 +	
    1.49  	# For conf we need /var/tmp
    1.50  	mkdir -p $fs/var/tmp
    1.51  	chmod 1777 $fs/var/tmp
    1.52 +	
    1.53  	# Remove alsaconf (use soundconf).
    1.54  	rm $fs/usr/sbin/alsaconf
    1.55  }