wok-6.x annotate audacity/receipt @ rev 13256

qemacs-tiny: -Werror=unused-but-set-variable fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 17 09:13:42 2012 +0200 (2012-08-17)
parents f812ce1bd690
children d87f2423c050
rev   line source
allan316@3200 1 # SliTaz package receipt.
allan316@3200 2
allan316@3200 3 PACKAGE="audacity"
slaxemulator@12325 4 VERSION="2.0.0"
allan316@3200 5 CATEGORY="multimedia"
allan316@3200 6 SHORT_DESC="software for recording and editing sounds"
allan316@3200 7 MAINTAINER="allan316@gmail.com"
pankso@3264 8 DEPENDS="wxWidgets ffmpeg libvorbis imlib2 libid3tag libmad flac libsndfile \
pascal@4998 9 lame alsa-lib xorg-libXxf86vm"
pankso@3264 10 BUILD_DEPENDS="wxWidgets-dev ffmpeg-dev libvorbis-dev libmad-dev flac-dev \
erjo@5744 11 libsndfile-dev lame-dev alsa-lib-dev portaudio-dev"
slaxemulator@12325 12 TARBALL="$PACKAGE-minsrc-$VERSION.tar.bz2"
allan316@3200 13 WEB_SITE="http://audacity.sourceforge.net"
slaxemulator@5357 14 WGET_URL="http://audacity.googlecode.com/files/$TARBALL"
jozee@3564 15 TAGS="sound audio recorder editor"
allan316@3200 16
allan316@3200 17 # Rules to configure and make the package.
allan316@3200 18 compile_rules()
allan316@3200 19 {
allan316@3200 20 cd $src
allan316@3200 21 ./configure \
allan316@3200 22 --prefix=/usr \
allan316@3200 23 --infodir=/usr/share/info \
allan316@3200 24 --mandir=/usr/share/man \
allan316@3200 25 $CONFIGURE_ARGS &&
slaxemulator@12325 26 make && make DESTDIR=$DESTDIR install
allan316@3200 27 }
allan316@3200 28
allan316@3200 29 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3200 30 genpkg_rules()
allan316@3200 31 {
allan316@3200 32 mkdir -p $fs/usr $fs/usr/share
allan316@3200 33 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@12325 34 cp -a $_pkg/usr/share/mime $fs/usr/share
slaxemulator@12325 35 cp -a $_pkg/usr/share/icons $fs/usr/share
slaxemulator@12325 36 cp -a $_pkg/usr/share/audacity $fs/usr/share
slaxemulator@12325 37 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
allan316@3200 38 cp -a $_pkg/usr/share/applications $fs/usr/share
allan316@3200 39 }