wok-current annotate audacity/receipt @ rev 3223
fix : audacity tarball
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Fri May 29 11:43:34 2009 +0000 (2009-05-29) |
parents | 363be972f024 |
children | a474af204795 |
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" |
allan316@3200 | 8 DEPENDS="wxWidgets ffmpeg libvorbis imlib2 libid3tag libmad flac libsndfile lame alsa-lib" |
allan316@3200 | 9 BUILD_DEPENDS="wxWidgets-dev ffmpeg-dev libvorbis-dev libmad-dev flac-dev libsndfile-dev lame-dev alsa-lib-dev" |
allan316@3223 | 10 TARBALL="$PACKAGE-fullsrc-$VERSION.tar.bz2" |
allan316@3200 | 11 WEB_SITE="http://audacity.sourceforge.net" |
allan316@3200 | 12 WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/audacity/$TARBALL" |
allan316@3200 | 13 |
allan316@3200 | 14 # Rules to configure and make the package. |
allan316@3200 | 15 compile_rules() |
allan316@3200 | 16 { |
allan316@3200 | 17 local src=$PACKAGE-src-$VERSION |
allan316@3200 | 18 cd $src |
allan316@3200 | 19 ./configure \ |
allan316@3200 | 20 --prefix=/usr \ |
allan316@3200 | 21 --infodir=/usr/share/info \ |
allan316@3200 | 22 --mandir=/usr/share/man \ |
allan316@3200 | 23 $CONFIGURE_ARGS && |
allan316@3200 | 24 make && make DESTDIR=$PWD/_pkg install |
allan316@3200 | 25 } |
allan316@3200 | 26 |
allan316@3200 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3200 | 28 genpkg_rules() |
allan316@3200 | 29 { |
allan316@3200 | 30 local _pkg=$WOK/$PACKAGE/$PACKAGE-src-$VERSION/_pkg |
allan316@3200 | 31 echo $_pkg |
allan316@3200 | 32 mkdir -p $fs/usr $fs/usr/share |
allan316@3200 | 33 cp -a $_pkg/usr/bin $fs/usr |
allan316@3200 | 34 cp -a $_pkg/usr/share/applications $fs/usr/share |
allan316@3200 | 35 } |
allan316@3200 | 36 |