wok-6.x annotate alsa-utils/receipt @ rev 165

Modified e17 config file
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jan 28 21:25:08 2008 +0100 (2008-01-28)
parents a7cb804c8e95
children 16e4ef87e466
rev   line source
pankso@32 1 # SliTaz package receipt.
pankso@32 2
pankso@32 3 PACKAGE="alsa-utils"
pankso@32 4 VERSION="1.0.15"
pankso@32 5 CATEGORY="extra"
pankso@32 6 SHORT_DESC="Alsa sound system utilities et config tools."
pankso@32 7 MAINTAINER="pankso@slitaz.org"
pankso@32 8 DEPENDS="alsa-lib bash"
pankso@32 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@32 10 WEB_SITE="http://www.alsa-project.org/"
pankso@32 11 WGET_URL="ftp://ftp.alsa-project.org/pub/utils/$TARBALL"
pascal@153 12 JWM_MENU='Multimedia:<Program icon="audio-card.png" label="Alsamixer">xterm -bg black -fg white -e alsamixer</Program>'
pankso@32 13
pankso@32 14 # Rules to configure and make the package.
pankso@32 15 compile_rules()
pankso@32 16 {
pankso@32 17 cd $src
pankso@32 18 ./configure --prefix=/usr --infodir=/usr/share/info \
pankso@32 19 --mandir=/usr/share/man $CONFIGURE_ARGS
pankso@32 20 make
pankso@32 21 make DESTDIR=$PWD/_pkg install
pankso@32 22 }
pankso@32 23
pankso@32 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@32 25 genpkg_rules()
pankso@32 26 {
pankso@32 27 mkdir -p $fs/usr/share
pankso@32 28 cp -a $_pkg/usr/bin $fs/usr
pankso@32 29 cp -a $_pkg/usr/sbin $fs/usr
pankso@32 30 chmod 755 $fs/usr/sbin/*
pankso@32 31 cp -a $_pkg/usr/share/alsa $fs/usr/share
pankso@32 32
pankso@32 33 # For conf we need /var/tmp
pankso@32 34 mkdir -p $fs/var/tmp
pankso@32 35 chmod 1777 $fs/var/tmp
pankso@32 36
pankso@32 37 # Strip me this and remove alsaconf (use soundconf).
pankso@32 38 strip -s $fs/usr/bin/*
pankso@32 39 rm $fs/usr/sbin/alsaconf
pankso@32 40 strip -s $fs/usr/sbin/*
pankso@32 41
pankso@32 42 # Getopt precomp needed by alsaconf (and change /bin/bash to sh :
pankso@32 43 # do not work, we need Bash or modify alsaconf).
pankso@32 44 install -g root -o root -m 0755 stuff/getopt $fs/usr/bin
pankso@32 45 }
pankso@32 46