# HG changeset patch # User Aleksej Bobylev # Date 1467621947 -10800 # Node ID 04d824c952832f84c741fee4b531269a3cc7d821 # Parent 7672854e4f43d536bc436e4381bb0240ed21668a Compress manpages. diff -r 7672854e4f43 -r 04d824c95283 anacron/receipt --- a/anacron/receipt Mon Jul 04 10:21:45 2016 +0200 +++ b/anacron/receipt Mon Jul 04 11:45:47 2016 +0300 @@ -29,5 +29,4 @@ genpkg_rules() { cp -a $install/* $fs - find $fs/usr/share -type f -exec chmod a-x \{\} \; } diff -r 7672854e4f43 -r 04d824c95283 aqualung/receipt --- a/aqualung/receipt Mon Jul 04 10:21:45 2016 +0200 +++ b/aqualung/receipt Mon Jul 04 11:45:47 2016 +0300 @@ -19,11 +19,12 @@ # Rules to configure and make the package. compile_rules() { - cd $src ./configure \ --with-lavc=no \ --with-jack=no && make && make install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 7672854e4f43 -r 04d824c95283 ardour/receipt --- a/ardour/receipt Mon Jul 04 10:21:45 2016 +0200 +++ b/ardour/receipt Mon Jul 04 11:45:47 2016 +0300 @@ -11,7 +11,7 @@ WGET_URL="ftp://ftp.archlinux.org/other/ardour/$TARBALL" TAGS="audio recorder mixer" -DEPENDS="liblrdf ladspa liblo libgnomecanvas libusb-compat aubio libsndfile +DEPENDS="liblrdf ladspa liblo libgnomecanvas libusb-compat aubio libsndfile \ libsamplerate raptor fftw libxslt libgnomecanvasmm soundtouch" BUILD_DEPENDS="scons libboost-dev libboost-thread-dev libboost-math-dev \ jack-audio-connection-kit-dev alsa-lib-dev liblo-dev aubio-dev libxslt-dev \ @@ -23,12 +23,11 @@ # Rules to configure and make the package. compile_rules() { - cd $src - sed -i '/-O3/d' SConstruct - mkdir -p $DESTDIR - - CFLAGS="$CFLAGS -Wl,--copy-dt-needed-entries -lboost_system" - scons ${MAKEFLAGS} ARCH="${CFLAGS}" \ + sed -i '/-O3/d' SConstruct + mkdir -p $DESTDIR + + CFLAGS="$CFLAGS -Wl,--copy-dt-needed-entries -lboost_system" + scons ${MAKEFLAGS} ARCH="${CFLAGS}" \ PREFIX=/usr \ NLS=1 \ FREEDESKTOP=0 \ @@ -40,9 +39,9 @@ LIBLO=1 \ AUBIO=1 \ TRANZPORT=1 \ - DIST_LIBDIR=lib - - scons ${MAKEFLAGS} ARCH="${CFLAGS}" \ + DIST_LIBDIR=lib + + scons ${MAKEFLAGS} ARCH="${CFLAGS}" \ PREFIX=/usr \ NLS=1 \ FREEDESKTOP=0 \ @@ -55,8 +54,15 @@ AUBIO=1 \ TRANZPORT=1 \ DIST_LIBDIR=lib \ - DESTDIR=$DESTDIR install + DESTDIR=$DESTDIR install + mkdir -p $install/usr/share/man/man1 + cp -a $src/ardour.1 $install/usr/share/man/man1 + for i in es fr ru; do + mkdir -p $install/usr/share/man/$i/man1 + cp -a $src/ardour.1.$i $install/usr/share/man/$i/man1 + done + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -66,5 +72,4 @@ cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib/ardour2/*so* $fs/usr/lib/ardour2 cp -a $install/usr/share/ardour2 $fs/usr/share - } diff -r 7672854e4f43 -r 04d824c95283 aria2/receipt --- a/aria2/receipt Mon Jul 04 10:21:45 2016 +0200 +++ b/aria2/receipt Mon Jul 04 11:45:47 2016 +0300 @@ -17,11 +17,12 @@ # Rules to configure and make the package. compile_rules() { - cd $src ./configure $CONFIGURE_ARGS \ --enable-epoll --enable-threads=posix --with-libz \ --without-sqlite3 --without-openssl && - make && make install + make && make install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 7672854e4f43 -r 04d824c95283 arj/receipt --- a/arj/receipt Mon Jul 04 10:21:45 2016 +0200 +++ b/arj/receipt Mon Jul 04 11:45:47 2016 +0300 @@ -27,6 +27,8 @@ sed -i 's/Patch not found.*/&return(POSTPROC_ERL_SUCCESS);/' postproc.c make -j 1 && make DESTDIR=$DESTDIR install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 7672854e4f43 -r 04d824c95283 arp-scan/receipt --- a/arp-scan/receipt Mon Jul 04 10:21:45 2016 +0200 +++ b/arp-scan/receipt Mon Jul 04 11:45:47 2016 +0300 @@ -21,6 +21,8 @@ make && make check | sed '/0$/d' && make DESTDIR=$DESTDIR install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 7672854e4f43 -r 04d824c95283 arping/receipt --- a/arping/receipt Mon Jul 04 10:21:45 2016 +0200 +++ b/arping/receipt Mon Jul 04 11:45:47 2016 +0300 @@ -18,6 +18,8 @@ { ./configure $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 7672854e4f43 -r 04d824c95283 arpwatch/receipt --- a/arpwatch/receipt Mon Jul 04 10:21:45 2016 +0200 +++ b/arpwatch/receipt Mon Jul 04 11:45:47 2016 +0300 @@ -16,15 +16,18 @@ # Rules to configure and make the package. compile_rules() { - cd $src sed -i 's|ARPDIR = $(prefix)/arpwatch|ARPDIR = /var/lib/arpwatch|' Makefile.in sed -i 's|-o bin -g bin||' Makefile.in - ./configure $CONFIGURE_ARGS && + ./configure $CONFIGURE_ARGS && make && install -d -m 755 $DESTDIR/usr/sbin make install #~ SENDMAIL=/usr/sbin/sendmail + + mkdir -p $install/usr/share/man/man8 + cp -a $src/*.8 $install/usr/share/man/man8 + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 7672854e4f43 -r 04d824c95283 asciidoc/receipt --- a/asciidoc/receipt Mon Jul 04 10:21:45 2016 +0200 +++ b/asciidoc/receipt Mon Jul 04 11:45:47 2016 +0300 @@ -20,6 +20,8 @@ --sysconfdir=/etc \ $CONFIGURE_ARGS && make install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 7672854e4f43 -r 04d824c95283 aspell/receipt --- a/aspell/receipt Mon Jul 04 10:21:45 2016 +0200 +++ b/aspell/receipt Mon Jul 04 11:45:47 2016 +0300 @@ -21,6 +21,8 @@ export LDFLAGS="$LDFLAGS -ltinfo" ./configure $CONFIGURE_ARGS && \ make && make install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 7672854e4f43 -r 04d824c95283 asterisk/receipt --- a/asterisk/receipt Mon Jul 04 10:21:45 2016 +0200 +++ b/asterisk/receipt Mon Jul 04 11:45:47 2016 +0300 @@ -67,6 +67,8 @@ make -j 1 DESTDIR=$DESTDIR samples && cd contrib/utils && gcc rawplayer.c -o $DESTDIR/usr/bin/rawplayer + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg.