wok-next annotate audacity/receipt @ rev 3320
Up: module-init-tools (3.9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 08 19:12:04 2009 +0200 (2009-06-08) |
parents | d9156c869d28 |
children | c616ce6b7873 |
rev | line source |
---|---|
allan316@3200 | 1 # SliTaz package receipt. |
allan316@3200 | 2 |
allan316@3200 | 3 PACKAGE="audacity" |
allan316@3200 | 4 VERSION="1.3.7" |
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 \ |
pankso@3264 | 9 lame alsa-lib" |
pankso@3264 | 10 BUILD_DEPENDS="wxWidgets-dev ffmpeg-dev libvorbis-dev libmad-dev flac-dev \ |
pankso@3264 | 11 libsndfile-dev lame-dev alsa-lib-dev" |
allan316@3223 | 12 TARBALL="$PACKAGE-fullsrc-$VERSION.tar.bz2" |
allan316@3200 | 13 WEB_SITE="http://audacity.sourceforge.net" |
allan316@3200 | 14 WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/audacity/$TARBALL" |
allan316@3200 | 15 |
allan316@3200 | 16 # Rules to configure and make the package. |
allan316@3200 | 17 compile_rules() |
allan316@3200 | 18 { |
pankso@3264 | 19 mv $PACKAGE-src-$VERSION $PACKAGE-$VERSION 2>/dev/null |
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 \ |
pankso@3264 | 25 --without-ffmpeg \ |
allan316@3200 | 26 $CONFIGURE_ARGS && |
allan316@3200 | 27 make && make DESTDIR=$PWD/_pkg install |
allan316@3200 | 28 } |
allan316@3200 | 29 |
allan316@3200 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3200 | 31 genpkg_rules() |
allan316@3200 | 32 { |
allan316@3200 | 33 mkdir -p $fs/usr $fs/usr/share |
allan316@3200 | 34 cp -a $_pkg/usr/bin $fs/usr |
allan316@3200 | 35 cp -a $_pkg/usr/share/applications $fs/usr/share |
allan316@3200 | 36 } |