wok annotate audacity/receipt @ rev 22060

created package get-uae
author Hans-G?nter Theisgen
date Thu Oct 24 16:03:15 2019 +0100 (2019-10-24)
parents a73464fdf18a
children 6e1e85ecba3f
rev   line source
allan316@3200 1 # SliTaz package receipt.
allan316@3200 2
allan316@3200 3 PACKAGE="audacity"
Hans-G?nter@21593 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@20669 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
Hans-G?nter@21594 16 DEPENDS="alsa-lib ffmpeg flac imlib2 lame libatomic libid3tag libmad \
Hans-G?nter@21594 17 libsndfile libvorbis wxWidgets xorg-libXxf86vm"
Hans-G?nter@21593 18 BUILD_DEPENDS="alsa-lib-dev bash cmake expat-dev ffmpeg-dev flac-dev \
Hans-G?nter@21596 19 gcc83 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 {
Hans-G?nter@21596 25 export CC=gcc-83
Hans-G?nter@21596 26 export CXX=g++-83
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 \
Hans-G?nter@21593 35 --with-ffmpeg=local \
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 }