wok-current annotate audacity/receipt @ rev 23849

Up znc (1.8.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 15 08:55:05 2020 +0000 (2020-06-15)
parents 667a6ebad331
children 5ea0ce1cecc0
rev   line source
allan316@3200 1 # SliTaz package receipt.
allan316@3200 2
allan316@3200 3 PACKAGE="audacity"
pascal@22395 4 VERSION="2.3.2"
allan316@3200 5 CATEGORY="multimedia"
Hans-G?nter@21593 6 TAGS="sound audio recorder editor"
Hans-G?nter@21593 7 SHORT_DESC="A free multi-track audio editor and recorder."
allan316@3200 8 MAINTAINER="allan316@gmail.com"
pascal@15201 9 LICENSE="GPL2"
pascal@23849 10 WEB_SITE="https://www.audacityteam.org"
pascal@15201 11
Hans-G?nter@21593 12 SOURCE="Audacity"
Hans-G?nter@21593 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@21593 14 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$TARBALL"
Hans-G?nter@21593 15
pascal@22398 16 DEPENDS="alsa-lib ffmpeg flac gcc49-lib-base imlib2 lame libatomic \
mojo@22386 17 libid3tag libmad libsndfile libvorbis wxWidgets xorg-libXxf86vm"
Hans-G?nter@21593 18 BUILD_DEPENDS="alsa-lib-dev bash cmake expat-dev ffmpeg-dev flac-dev \
pascal@22398 19 gcc49 lame-dev libatomic libmad-dev libsndfile-dev libtool \
Hans-G?nter@21594 20 libvorbis-dev portaudio-dev wxWidgets-dev"
allan316@3200 21
allan316@3200 22 # Rules to configure and make the package.
allan316@3200 23 compile_rules()
allan316@3200 24 {
pascal@22398 25 export CC=gcc-49
pascal@22398 26 export CXX=g++-49
Hans-G?nter@21593 27 export SHELL=/bin/bash
Hans-G?nter@21593 28 export CONFIG_SHELL=/bin/bash
Hans-G?nter@21598 29 export LDFLAGS="$LDFLAGS -l:libatomic.so.1"
Hans-G?nter@21593 30
Hans-G?nter@21593 31 ./configure \
Hans-G?nter@21593 32 --prefix=/usr \
Hans-G?nter@21593 33 --infodir=/usr/share/info \
Hans-G?nter@21593 34 --mandir=/usr/share/man \
mojo@22341 35 --with-ffmpeg=system \
allan316@3200 36 $CONFIGURE_ARGS &&
Hans-G?nter@21593 37 make &&
Hans-G?nter@21593 38 make DESTDIR=$DESTDIR install
allan316@3200 39 }
allan316@3200 40
allan316@3200 41 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3200 42 genpkg_rules()
allan316@3200 43 {
Hans-G?nter@21593 44 mkdir -p $fs/usr/share
Hans-G?nter@21593 45
Hans-G?nter@21593 46 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21593 47 cp -a $install/usr/share/icons $fs/usr/share
Hans-G?nter@21593 48 cp -a $install/usr/share/audacity $fs/usr/share
Hans-G?nter@21593 49 cp -a $install/usr/share/pixmaps $fs/usr/share
Hans-G?nter@21593 50 cp -a $install/usr/share/applications $fs/usr/share
allan316@3200 51 }