wok annotate audacity/receipt @ rev 19896
Add transcode
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 06 19:38:29 2017 +0200 (2017-04-06) |
parents | 3f734171c28e |
children | a78610b2eb47 |
rev | line source |
---|---|
allan316@3200 | 1 # SliTaz package receipt. |
allan316@3200 | 2 |
allan316@3200 | 3 PACKAGE="audacity" |
devl547@17354 | 4 VERSION="2.0.6" |
allan316@3200 | 5 CATEGORY="multimedia" |
al@18521 | 6 SHORT_DESC="A free multi-track audio editor and recorder" |
allan316@3200 | 7 MAINTAINER="allan316@gmail.com" |
pascal@15201 | 8 LICENSE="GPL2" |
al@19275 | 9 WEB_SITE="http://www.audacityteam.org/" |
devl547@17354 | 10 TARBALL="$PACKAGE-minsrc-$VERSION.tar.xz" |
devl547@17354 | 11 WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL" |
pascal@15201 | 12 TAGS="sound audio recorder editor" |
pascal@15201 | 13 |
al@18521 | 14 DEPENDS="wxWidgets28 ffmpeg libvorbis imlib2 libid3tag libmad flac libsndfile \ |
pascal@4998 | 15 lame alsa-lib xorg-libXxf86vm" |
al@18521 | 16 BUILD_DEPENDS="wxWidgets28-dev ffmpeg-dev libvorbis-dev libmad-dev flac-dev \ |
al@19271 | 17 libsndfile-dev lame-dev alsa-lib-dev portaudio-dev cmake expat-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 ./configure \ |
allan316@3200 | 23 --prefix=/usr \ |
allan316@3200 | 24 --infodir=/usr/share/info \ |
allan316@3200 | 25 --mandir=/usr/share/man \ |
pascal@13621 | 26 --with-ffmpeg=local \ |
allan316@3200 | 27 $CONFIGURE_ARGS && |
slaxemulator@12325 | 28 make && make DESTDIR=$DESTDIR install |
allan316@3200 | 29 } |
allan316@3200 | 30 |
allan316@3200 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3200 | 32 genpkg_rules() |
allan316@3200 | 33 { |
allan316@3200 | 34 mkdir -p $fs/usr $fs/usr/share |
pascal@15603 | 35 cp -a $install/usr/bin $fs/usr |
pascal@15603 | 36 cp -a $install/usr/share/icons $fs/usr/share |
pascal@15603 | 37 cp -a $install/usr/share/audacity $fs/usr/share |
pascal@15603 | 38 cp -a $install/usr/share/pixmaps $fs/usr/share |
al@17261 | 39 cp -a $install/usr/share/applications $fs/usr/share |
allan316@3200 | 40 } |