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

alsa-plugins alsa-utils bc bison id3lib krb5 libIDL: update BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 03 10:33:15 2008 +0000 (2008-10-03)
parents da22f3822867
children 4da89e6150fe
rev   line source
pankso@32 1 # SliTaz package receipt.
pankso@32 2
pankso@32 3 PACKAGE="alsa-utils"
pankso@1057 4 VERSION="1.0.17"
pankso@177 5 CATEGORY="multimedia"
pankso@32 6 SHORT_DESC="Alsa sound system utilities et config tools."
pankso@32 7 MAINTAINER="pankso@slitaz.org"
pascal@231 8 DEPENDS="alsa-lib"
pascal@1447 9 BUILD_DEPENDS="alsa-lib alsa-lib-dev"
pankso@32 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@32 11 WEB_SITE="http://www.alsa-project.org/"
pankso@32 12 WGET_URL="ftp://ftp.alsa-project.org/pub/utils/$TARBALL"
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 \
pascal@1447 19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1447 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@1057 27 mkdir -p $fs/usr $fs/etc
pankso@32 28 cp -a $_pkg/usr/bin $fs/usr
pankso@32 29 cp -a $_pkg/usr/sbin $fs/usr
pankso@1057 30 touch $fs/etc/asound.state
pankso@32 31 chmod 755 $fs/usr/sbin/*
pankso@256 32
pankso@256 33 # Remove speaker-test (18 Ko and needs sounds)
pankso@256 34 rm $fs/usr/bin/speaker-test
pankso@32 35
pankso@32 36 # For conf we need /var/tmp
pankso@32 37 mkdir -p $fs/var/tmp
pankso@32 38 chmod 1777 $fs/var/tmp
pankso@32 39
pankso@256 40 # Remove alsaconf (use soundconf) + Getopt precomp needed by soundconf.
pankso@32 41 rm $fs/usr/sbin/alsaconf
pankso@32 42 install -g root -o root -m 0755 stuff/getopt $fs/usr/bin
pankso@32 43 }
pankso@32 44