wok-current rev 19267
Compress manpages.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 04 11:45:47 2016 +0300 (2016-07-04) |
parents | 7672854e4f43 |
children | 2111808c7258 |
files | anacron/receipt aqualung/receipt ardour/receipt aria2/receipt arj/receipt arp-scan/receipt arping/receipt arpwatch/receipt asciidoc/receipt aspell/receipt asterisk/receipt |
line diff
1.1 --- a/anacron/receipt Mon Jul 04 10:21:45 2016 +0200 1.2 +++ b/anacron/receipt Mon Jul 04 11:45:47 2016 +0300 1.3 @@ -29,5 +29,4 @@ 1.4 genpkg_rules() 1.5 { 1.6 cp -a $install/* $fs 1.7 - find $fs/usr/share -type f -exec chmod a-x \{\} \; 1.8 }
2.1 --- a/aqualung/receipt Mon Jul 04 10:21:45 2016 +0200 2.2 +++ b/aqualung/receipt Mon Jul 04 11:45:47 2016 +0300 2.3 @@ -19,11 +19,12 @@ 2.4 # Rules to configure and make the package. 2.5 compile_rules() 2.6 { 2.7 - cd $src 2.8 ./configure \ 2.9 --with-lavc=no \ 2.10 --with-jack=no && 2.11 make && make install 2.12 + 2.13 + cook_compress_manpages 2.14 } 2.15 2.16 # Rules to gen a SliTaz package suitable for Tazpkg.
3.1 --- a/ardour/receipt Mon Jul 04 10:21:45 2016 +0200 3.2 +++ b/ardour/receipt Mon Jul 04 11:45:47 2016 +0300 3.3 @@ -11,7 +11,7 @@ 3.4 WGET_URL="ftp://ftp.archlinux.org/other/ardour/$TARBALL" 3.5 TAGS="audio recorder mixer" 3.6 3.7 -DEPENDS="liblrdf ladspa liblo libgnomecanvas libusb-compat aubio libsndfile 3.8 +DEPENDS="liblrdf ladspa liblo libgnomecanvas libusb-compat aubio libsndfile \ 3.9 libsamplerate raptor fftw libxslt libgnomecanvasmm soundtouch" 3.10 BUILD_DEPENDS="scons libboost-dev libboost-thread-dev libboost-math-dev \ 3.11 jack-audio-connection-kit-dev alsa-lib-dev liblo-dev aubio-dev libxslt-dev \ 3.12 @@ -23,12 +23,11 @@ 3.13 # Rules to configure and make the package. 3.14 compile_rules() 3.15 { 3.16 - cd $src 3.17 - sed -i '/-O3/d' SConstruct 3.18 - mkdir -p $DESTDIR 3.19 - 3.20 - CFLAGS="$CFLAGS -Wl,--copy-dt-needed-entries -lboost_system" 3.21 - scons ${MAKEFLAGS} ARCH="${CFLAGS}" \ 3.22 + sed -i '/-O3/d' SConstruct 3.23 + mkdir -p $DESTDIR 3.24 + 3.25 + CFLAGS="$CFLAGS -Wl,--copy-dt-needed-entries -lboost_system" 3.26 + scons ${MAKEFLAGS} ARCH="${CFLAGS}" \ 3.27 PREFIX=/usr \ 3.28 NLS=1 \ 3.29 FREEDESKTOP=0 \ 3.30 @@ -40,9 +39,9 @@ 3.31 LIBLO=1 \ 3.32 AUBIO=1 \ 3.33 TRANZPORT=1 \ 3.34 - DIST_LIBDIR=lib 3.35 - 3.36 - scons ${MAKEFLAGS} ARCH="${CFLAGS}" \ 3.37 + DIST_LIBDIR=lib 3.38 + 3.39 + scons ${MAKEFLAGS} ARCH="${CFLAGS}" \ 3.40 PREFIX=/usr \ 3.41 NLS=1 \ 3.42 FREEDESKTOP=0 \ 3.43 @@ -55,8 +54,15 @@ 3.44 AUBIO=1 \ 3.45 TRANZPORT=1 \ 3.46 DIST_LIBDIR=lib \ 3.47 - DESTDIR=$DESTDIR install 3.48 + DESTDIR=$DESTDIR install 3.49 3.50 + mkdir -p $install/usr/share/man/man1 3.51 + cp -a $src/ardour.1 $install/usr/share/man/man1 3.52 + for i in es fr ru; do 3.53 + mkdir -p $install/usr/share/man/$i/man1 3.54 + cp -a $src/ardour.1.$i $install/usr/share/man/$i/man1 3.55 + done 3.56 + cook_compress_manpages 3.57 } 3.58 3.59 # Rules to gen a SliTaz package suitable for Tazpkg. 3.60 @@ -66,5 +72,4 @@ 3.61 cp -a $install/usr/bin $fs/usr 3.62 cp -a $install/usr/lib/ardour2/*so* $fs/usr/lib/ardour2 3.63 cp -a $install/usr/share/ardour2 $fs/usr/share 3.64 - 3.65 }
4.1 --- a/aria2/receipt Mon Jul 04 10:21:45 2016 +0200 4.2 +++ b/aria2/receipt Mon Jul 04 11:45:47 2016 +0300 4.3 @@ -17,11 +17,12 @@ 4.4 # Rules to configure and make the package. 4.5 compile_rules() 4.6 { 4.7 - cd $src 4.8 ./configure $CONFIGURE_ARGS \ 4.9 --enable-epoll --enable-threads=posix --with-libz \ 4.10 --without-sqlite3 --without-openssl && 4.11 - make && make install 4.12 + make && make install 4.13 + 4.14 + cook_compress_manpages 4.15 } 4.16 4.17 # Rules to gen a SliTaz package suitable for Tazpkg.
5.1 --- a/arj/receipt Mon Jul 04 10:21:45 2016 +0200 5.2 +++ b/arj/receipt Mon Jul 04 11:45:47 2016 +0300 5.3 @@ -27,6 +27,8 @@ 5.4 sed -i 's/Patch not found.*/&return(POSTPROC_ERL_SUCCESS);/' postproc.c 5.5 make -j 1 && 5.6 make DESTDIR=$DESTDIR install 5.7 + 5.8 + cook_compress_manpages 5.9 } 5.10 5.11 # Rules to gen a SliTaz package suitable for Tazpkg.
6.1 --- a/arp-scan/receipt Mon Jul 04 10:21:45 2016 +0200 6.2 +++ b/arp-scan/receipt Mon Jul 04 11:45:47 2016 +0300 6.3 @@ -21,6 +21,8 @@ 6.4 make && 6.5 make check | sed '/0$/d' && 6.6 make DESTDIR=$DESTDIR install 6.7 + 6.8 + cook_compress_manpages 6.9 } 6.10 6.11 # Rules to gen a SliTaz package suitable for Tazpkg.
7.1 --- a/arping/receipt Mon Jul 04 10:21:45 2016 +0200 7.2 +++ b/arping/receipt Mon Jul 04 11:45:47 2016 +0300 7.3 @@ -18,6 +18,8 @@ 7.4 { 7.5 ./configure $CONFIGURE_ARGS && 7.6 make && make DESTDIR=$DESTDIR install 7.7 + 7.8 + cook_compress_manpages 7.9 } 7.10 7.11 # Rules to gen a SliTaz package suitable for Tazpkg.
8.1 --- a/arpwatch/receipt Mon Jul 04 10:21:45 2016 +0200 8.2 +++ b/arpwatch/receipt Mon Jul 04 11:45:47 2016 +0300 8.3 @@ -16,15 +16,18 @@ 8.4 # Rules to configure and make the package. 8.5 compile_rules() 8.6 { 8.7 - cd $src 8.8 sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in 8.9 sed -i 's|-o bin -g bin||' Makefile.in 8.10 - ./configure $CONFIGURE_ARGS && 8.11 + ./configure $CONFIGURE_ARGS && 8.12 make && 8.13 install -d -m 755 $DESTDIR/usr/sbin 8.14 make install 8.15 8.16 #~ SENDMAIL=/usr/sbin/sendmail 8.17 + 8.18 + mkdir -p $install/usr/share/man/man8 8.19 + cp -a $src/*.8 $install/usr/share/man/man8 8.20 + cook_compress_manpages 8.21 } 8.22 8.23 # Rules to gen a SliTaz package suitable for Tazpkg.
9.1 --- a/asciidoc/receipt Mon Jul 04 10:21:45 2016 +0200 9.2 +++ b/asciidoc/receipt Mon Jul 04 11:45:47 2016 +0300 9.3 @@ -20,6 +20,8 @@ 9.4 --sysconfdir=/etc \ 9.5 $CONFIGURE_ARGS && 9.6 make install 9.7 + 9.8 + cook_compress_manpages 9.9 } 9.10 9.11 # Rules to gen a SliTaz package suitable for Tazpkg.
10.1 --- a/aspell/receipt Mon Jul 04 10:21:45 2016 +0200 10.2 +++ b/aspell/receipt Mon Jul 04 11:45:47 2016 +0300 10.3 @@ -21,6 +21,8 @@ 10.4 export LDFLAGS="$LDFLAGS -ltinfo" 10.5 ./configure $CONFIGURE_ARGS && \ 10.6 make && make install 10.7 + 10.8 + cook_compress_manpages 10.9 } 10.10 10.11 # Rules to gen a SliTaz package suitable for Tazpkg.
11.1 --- a/asterisk/receipt Mon Jul 04 10:21:45 2016 +0200 11.2 +++ b/asterisk/receipt Mon Jul 04 11:45:47 2016 +0300 11.3 @@ -67,6 +67,8 @@ 11.4 make -j 1 DESTDIR=$DESTDIR samples && 11.5 cd contrib/utils && 11.6 gcc rawplayer.c -o $DESTDIR/usr/bin/rawplayer 11.7 + 11.8 + cook_compress_manpages 11.9 } 11.10 11.11 # Rules to gen a SliTaz package suitable for Tazpkg.