wok-current annotate audacity/receipt @ rev 15603
Use install instead of _pkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 06 10:39:07 2013 +0000 (2013-12-06) |
parents | f4c22f009037 |
children | 533c0cab6960 |
rev | line source |
---|---|
allan316@3200 | 1 # SliTaz package receipt. |
allan316@3200 | 2 |
allan316@3200 | 3 PACKAGE="audacity" |
pascal@13620 | 4 VERSION="2.0.2" |
allan316@3200 | 5 CATEGORY="multimedia" |
allan316@3200 | 6 SHORT_DESC="software for recording and editing sounds" |
allan316@3200 | 7 MAINTAINER="allan316@gmail.com" |
pascal@15201 | 8 LICENSE="GPL2" |
pascal@15201 | 9 TARBALL="$PACKAGE-minsrc-$VERSION.tar.bz2" |
pascal@15201 | 10 WEB_SITE="http://audacity.sourceforge.net" |
pascal@15201 | 11 WGET_URL="http://audacity.googlecode.com/files/$TARBALL" |
pascal@15201 | 12 TAGS="sound audio recorder editor" |
pascal@15201 | 13 |
pankso@3264 | 14 DEPENDS="wxWidgets ffmpeg libvorbis imlib2 libid3tag libmad flac libsndfile \ |
pascal@4998 | 15 lame alsa-lib xorg-libXxf86vm" |
pankso@3264 | 16 BUILD_DEPENDS="wxWidgets-dev ffmpeg-dev libvorbis-dev libmad-dev flac-dev \ |
erjo@5744 | 17 libsndfile-dev lame-dev alsa-lib-dev portaudio-dev" |
allan316@3200 | 18 |
allan316@3200 | 19 # Rules to configure and make the package. |
allan316@3200 | 20 compile_rules() |
allan316@3200 | 21 { |
allan316@3200 | 22 cd $src |
allan316@3200 | 23 ./configure \ |
allan316@3200 | 24 --prefix=/usr \ |
allan316@3200 | 25 --infodir=/usr/share/info \ |
allan316@3200 | 26 --mandir=/usr/share/man \ |
pascal@13621 | 27 --with-ffmpeg=local \ |
allan316@3200 | 28 $CONFIGURE_ARGS && |
slaxemulator@12325 | 29 make && make DESTDIR=$DESTDIR install |
allan316@3200 | 30 } |
allan316@3200 | 31 |
allan316@3200 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3200 | 33 genpkg_rules() |
allan316@3200 | 34 { |
allan316@3200 | 35 mkdir -p $fs/usr $fs/usr/share |
pascal@15603 | 36 cp -a $install/usr/bin $fs/usr |
pascal@15603 | 37 cp -a $install/usr/share/mime $fs/usr/share |
pascal@15603 | 38 cp -a $install/usr/share/icons $fs/usr/share |
pascal@15603 | 39 cp -a $install/usr/share/audacity $fs/usr/share |
pascal@15603 | 40 cp -a $install/usr/share/pixmaps $fs/usr/share |
pascal@15603 | 41 cp -a $install/usr/share/applications $fs/usr/share |
allan316@3200 | 42 } |