wok-next annotate alsa-utils/receipt @ rev 717

slitaz-tools and slitaz-configs receipts typo and add deps
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 02 21:09:43 2008 +0200 (2008-05-02)
parents 4f833a54f594
children 54ec4b7ae767
rev   line source
pankso@32 1 # SliTaz package receipt.
pankso@32 2
pankso@32 3 PACKAGE="alsa-utils"
pankso@256 4 VERSION="1.0.16"
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"
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"
pankso@32 12
pankso@32 13 # Rules to configure and make the package.
pankso@32 14 compile_rules()
pankso@32 15 {
pankso@32 16 cd $src
pankso@32 17 ./configure --prefix=/usr --infodir=/usr/share/info \
pankso@32 18 --mandir=/usr/share/man $CONFIGURE_ARGS
pankso@32 19 make
pankso@32 20 make DESTDIR=$PWD/_pkg install
pankso@32 21 }
pankso@32 22
pankso@32 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@32 24 genpkg_rules()
pankso@32 25 {
pankso@256 26 mkdir -p $fs/usr
pankso@32 27 cp -a $_pkg/usr/bin $fs/usr
pankso@32 28 cp -a $_pkg/usr/sbin $fs/usr
pankso@32 29 chmod 755 $fs/usr/sbin/*
pankso@256 30
pankso@256 31 # Remove speaker-test (18 Ko and needs sounds)
pankso@256 32 rm $fs/usr/bin/speaker-test
pankso@32 33
pankso@32 34 # For conf we need /var/tmp
pankso@32 35 mkdir -p $fs/var/tmp
pankso@32 36 chmod 1777 $fs/var/tmp
pankso@32 37
pankso@256 38 # Remove alsaconf (use soundconf) + Getopt precomp needed by soundconf.
pankso@32 39 rm $fs/usr/sbin/alsaconf
pankso@32 40 install -g root -o root -m 0755 stuff/getopt $fs/usr/bin
pankso@32 41 }
pankso@32 42