wok-current diff alsa-utils/receipt @ rev 63
Add : rdesktop
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 23 17:50:34 2007 +0000 (2007-12-23) |
parents | |
children | 4959e5789caa |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/alsa-utils/receipt Sun Dec 23 17:50:34 2007 +0000 1.3 @@ -0,0 +1,45 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="alsa-utils" 1.7 +VERSION="1.0.15" 1.8 +CATEGORY="extra" 1.9 +SHORT_DESC="Alsa sound system utilities et config tools." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="alsa-lib bash" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.13 +WEB_SITE="http://www.alsa-project.org/" 1.14 +WGET_URL="ftp://ftp.alsa-project.org/pub/utils/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.21 + --mandir=/usr/share/man $CONFIGURE_ARGS 1.22 + make 1.23 + make DESTDIR=$PWD/_pkg install 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + mkdir -p $fs/usr/share 1.30 + cp -a $_pkg/usr/bin $fs/usr 1.31 + cp -a $_pkg/usr/sbin $fs/usr 1.32 + chmod 755 $fs/usr/sbin/* 1.33 + cp -a $_pkg/usr/share/alsa $fs/usr/share 1.34 + 1.35 + # For conf we need /var/tmp 1.36 + mkdir -p $fs/var/tmp 1.37 + chmod 1777 $fs/var/tmp 1.38 + 1.39 + # Strip me this and remove alsaconf (use soundconf). 1.40 + strip -s $fs/usr/bin/* 1.41 + rm $fs/usr/sbin/alsaconf 1.42 + strip -s $fs/usr/sbin/* 1.43 + 1.44 + # Getopt precomp needed by alsaconf (and change /bin/bash to sh : 1.45 + # do not work, we need Bash or modify alsaconf). 1.46 + install -g root -o root -m 0755 stuff/getopt $fs/usr/bin 1.47 +} 1.48 +