wok diff ardour/receipt @ rev 19267
Compress manpages.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 04 11:45:47 2016 +0300 (2016-07-04) |
parents | 735bd1685a95 |
children | 7f39549720b8 |
line diff
1.1 --- a/ardour/receipt Thu Dec 12 19:04:35 2013 +0000 1.2 +++ b/ardour/receipt Mon Jul 04 11:45:47 2016 +0300 1.3 @@ -11,7 +11,7 @@ 1.4 WGET_URL="ftp://ftp.archlinux.org/other/ardour/$TARBALL" 1.5 TAGS="audio recorder mixer" 1.6 1.7 -DEPENDS="liblrdf ladspa liblo libgnomecanvas libusb-compat aubio libsndfile 1.8 +DEPENDS="liblrdf ladspa liblo libgnomecanvas libusb-compat aubio libsndfile \ 1.9 libsamplerate raptor fftw libxslt libgnomecanvasmm soundtouch" 1.10 BUILD_DEPENDS="scons libboost-dev libboost-thread-dev libboost-math-dev \ 1.11 jack-audio-connection-kit-dev alsa-lib-dev liblo-dev aubio-dev libxslt-dev \ 1.12 @@ -23,12 +23,11 @@ 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 { 1.16 - cd $src 1.17 - sed -i '/-O3/d' SConstruct 1.18 - mkdir -p $DESTDIR 1.19 - 1.20 - CFLAGS="$CFLAGS -Wl,--copy-dt-needed-entries -lboost_system" 1.21 - scons ${MAKEFLAGS} ARCH="${CFLAGS}" \ 1.22 + sed -i '/-O3/d' SConstruct 1.23 + mkdir -p $DESTDIR 1.24 + 1.25 + CFLAGS="$CFLAGS -Wl,--copy-dt-needed-entries -lboost_system" 1.26 + scons ${MAKEFLAGS} ARCH="${CFLAGS}" \ 1.27 PREFIX=/usr \ 1.28 NLS=1 \ 1.29 FREEDESKTOP=0 \ 1.30 @@ -40,9 +39,9 @@ 1.31 LIBLO=1 \ 1.32 AUBIO=1 \ 1.33 TRANZPORT=1 \ 1.34 - DIST_LIBDIR=lib 1.35 - 1.36 - scons ${MAKEFLAGS} ARCH="${CFLAGS}" \ 1.37 + DIST_LIBDIR=lib 1.38 + 1.39 + scons ${MAKEFLAGS} ARCH="${CFLAGS}" \ 1.40 PREFIX=/usr \ 1.41 NLS=1 \ 1.42 FREEDESKTOP=0 \ 1.43 @@ -55,8 +54,15 @@ 1.44 AUBIO=1 \ 1.45 TRANZPORT=1 \ 1.46 DIST_LIBDIR=lib \ 1.47 - DESTDIR=$DESTDIR install 1.48 + DESTDIR=$DESTDIR install 1.49 1.50 + mkdir -p $install/usr/share/man/man1 1.51 + cp -a $src/ardour.1 $install/usr/share/man/man1 1.52 + for i in es fr ru; do 1.53 + mkdir -p $install/usr/share/man/$i/man1 1.54 + cp -a $src/ardour.1.$i $install/usr/share/man/$i/man1 1.55 + done 1.56 + cook_compress_manpages 1.57 } 1.58 1.59 # Rules to gen a SliTaz package suitable for Tazpkg. 1.60 @@ -66,5 +72,4 @@ 1.61 cp -a $install/usr/bin $fs/usr 1.62 cp -a $install/usr/lib/ardour2/*so* $fs/usr/lib/ardour2 1.63 cp -a $install/usr/share/ardour2 $fs/usr/share 1.64 - 1.65 }