wok-6.x annotate audacity/receipt @ rev 25273

created recipe for gcc83-lang (really)
author Hans-G?nter Theisgen
date Sun Jul 17 17:53:46 2022 +0100 (2022-07-17)
parents 5ea0ce1cecc0
children
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
pascal@24055 22 current_version()
pascal@24055 23 {
pascal@24079 24 wget -O - ${WGET_URL%/arch*} 2>/dev/null | \
pascal@24079 25 sed '/releases.tag/!d;s|.*/tag.Audacity-\(.*\)".*|\1|;q'
pascal@24055 26 }
pascal@24055 27
allan316@3200 28 # Rules to configure and make the package.
allan316@3200 29 compile_rules()
allan316@3200 30 {
pascal@22398 31 export CC=gcc-49
pascal@22398 32 export CXX=g++-49
Hans-G?nter@21593 33 export SHELL=/bin/bash
Hans-G?nter@21593 34 export CONFIG_SHELL=/bin/bash
Hans-G?nter@21598 35 export LDFLAGS="$LDFLAGS -l:libatomic.so.1"
Hans-G?nter@21593 36
Hans-G?nter@21593 37 ./configure \
Hans-G?nter@21593 38 --prefix=/usr \
Hans-G?nter@21593 39 --infodir=/usr/share/info \
Hans-G?nter@21593 40 --mandir=/usr/share/man \
mojo@22341 41 --with-ffmpeg=system \
allan316@3200 42 $CONFIGURE_ARGS &&
Hans-G?nter@21593 43 make &&
Hans-G?nter@21593 44 make DESTDIR=$DESTDIR install
allan316@3200 45 }
allan316@3200 46
allan316@3200 47 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3200 48 genpkg_rules()
allan316@3200 49 {
Hans-G?nter@21593 50 mkdir -p $fs/usr/share
Hans-G?nter@21593 51
Hans-G?nter@21593 52 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21593 53 cp -a $install/usr/share/icons $fs/usr/share
Hans-G?nter@21593 54 cp -a $install/usr/share/audacity $fs/usr/share
Hans-G?nter@21593 55 cp -a $install/usr/share/pixmaps $fs/usr/share
Hans-G?nter@21593 56 cp -a $install/usr/share/applications $fs/usr/share
allan316@3200 57 }