wok-current view audacity/receipt @ rev 21598
audacity: variable LIBS replaced by LDFLAGS
author | Hans-G?nter Theisgen |
---|---|
date | Tue May 21 17:15:19 2019 +0100 (2019-05-21) |
parents | a73464fdf18a |
children | 6e1e85ecba3f |
line source
1 # SliTaz package receipt.
3 PACKAGE="audacity"
4 VERSION="2.3.2"
5 CATEGORY="multimedia"
6 TAGS="sound audio recorder editor"
7 SHORT_DESC="A free multi-track audio editor and recorder."
8 MAINTAINER="allan316@gmail.com"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.audacityteam.org/"
12 SOURCE="Audacity"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/$TARBALL"
16 DEPENDS="alsa-lib ffmpeg flac imlib2 lame libatomic libid3tag libmad \
17 libsndfile libvorbis wxWidgets xorg-libXxf86vm"
18 BUILD_DEPENDS="alsa-lib-dev bash cmake expat-dev ffmpeg-dev flac-dev \
19 gcc83 lame-dev libatomic libmad-dev libsndfile-dev libtool \
20 libvorbis-dev portaudio-dev wxWidgets-dev"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 export CC=gcc-83
26 export CXX=g++-83
27 export SHELL=/bin/bash
28 export CONFIG_SHELL=/bin/bash
29 export LDFLAGS="$LDFLAGS -l:libatomic.so.1"
31 ./configure \
32 --prefix=/usr \
33 --infodir=/usr/share/info \
34 --mandir=/usr/share/man \
35 --with-ffmpeg=local \
36 $CONFIGURE_ARGS &&
37 make &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/share/icons $fs/usr/share
48 cp -a $install/usr/share/audacity $fs/usr/share
49 cp -a $install/usr/share/pixmaps $fs/usr/share
50 cp -a $install/usr/share/applications $fs/usr/share
51 }