# HG changeset patch # User Aleksej Bobylev # Date 1467632825 -10800 # Node ID 7f39549720b8e3a54115c5e7c641fb80cc4e54f5 # Parent 2111808c7258b223132860c0ed0ef8d97ce2a550 Compress manpages. diff -r 2111808c7258 -r 7f39549720b8 ardour/receipt --- a/ardour/receipt Mon Jul 04 10:47:24 2016 +0200 +++ b/ardour/receipt Mon Jul 04 14:47:05 2016 +0300 @@ -60,7 +60,7 @@ 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 + cp -a $src/ardour.1.$i $install/usr/share/man/$i/man1/ardour.1 done cook_compress_manpages } diff -r 2111808c7258 -r 7f39549720b8 at/receipt --- a/at/receipt Mon Jul 04 10:47:24 2016 +0200 +++ b/at/receipt Mon Jul 04 14:47:05 2016 +0300 @@ -15,8 +15,6 @@ # Rules to configure and make the package. compile_rules() { - cd $src - ./configure --with-daemon_username=nobody \ --with-daemon_groupname=nogroup \ --with-atspool=/var/spool/atd \ @@ -24,6 +22,8 @@ $CONFIGURE_ARGS && make -j1 && make -j1 IROOT=$DESTDIR install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 2111808c7258 -r 7f39549720b8 aterm/receipt --- a/aterm/receipt Mon Jul 04 10:47:24 2016 +0200 +++ b/aterm/receipt Mon Jul 04 14:47:05 2016 +0300 @@ -24,6 +24,8 @@ esac ./configure $CONFIGURE_ARGS && make && make install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 2111808c7258 -r 7f39549720b8 atftp/receipt --- a/atftp/receipt Mon Jul 04 10:47:24 2016 +0200 +++ b/atftp/receipt Mon Jul 04 14:47:05 2016 +0300 @@ -17,7 +17,6 @@ # Rules to configure and make the package. compile_rules() { - cd $src sed -i -e 's/char \*__entry) __THROW/char *__entry))/' \ -e 's/^_*argz_next/__NTH(&/' argz.h sed -i 's/CLK_TCK/CLOCKS_PER_SEC/' stats.c @@ -26,6 +25,8 @@ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -34,4 +35,3 @@ mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr } - diff -r 2111808c7258 -r 7f39549720b8 atm-tools/receipt --- a/atm-tools/receipt Mon Jul 04 10:47:24 2016 +0200 +++ b/atm-tools/receipt Mon Jul 04 14:47:05 2016 +0300 @@ -17,12 +17,13 @@ # Rules to configure and make the package. compile_rules() { - cd $src busybox patch -p0 < $stuff/MAX_PATH.u ./configure --prefix=/usr --infodir=/usr/share/info \ --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && make -j1 && make -j1 DESTDIR=$DESTDIR install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -34,4 +35,3 @@ cp -a $install/usr/sbin $fs/usr cp -a $install/usr/lib/*.so* $fs/usr/lib } - diff -r 2111808c7258 -r 7f39549720b8 atril/receipt --- a/atril/receipt Mon Jul 04 10:47:24 2016 +0200 +++ b/atril/receipt Mon Jul 04 14:47:05 2016 +0300 @@ -20,11 +20,15 @@ # Rules to configure and make the package. compile_rules() { - ./autogen.sh \ - --prefix=/usr \ + ./autogen.sh \ + --prefix=/usr \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install + + mkdir -p $install/usr/share/man/man1 + cp $src/data/atril.1 $install/usr/share/man/man1 + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 2111808c7258 -r 7f39549720b8 attr/receipt --- a/attr/receipt Mon Jul 04 10:47:24 2016 +0200 +++ b/attr/receipt Mon Jul 04 14:47:05 2016 +0300 @@ -22,13 +22,11 @@ # Rules to configure and make the package. compile_rules() { - cd $src - # Need bash sh to compile mv /bin/sh /bin/sh.bak ln -s /bin/bash /bin/sh - # No need to use rpm + # No need to use rpm rm /bin/rpm export INSTALL_USER=root INSTALL_GROUP=root @@ -38,6 +36,8 @@ make install install-lib install-dev DIST_ROOT=$DESTDIR mv -f /bin/sh.bak /bin/sh + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 2111808c7258 -r 7f39549720b8 aubio/receipt --- a/aubio/receipt Mon Jul 04 10:47:24 2016 +0200 +++ b/aubio/receipt Mon Jul 04 14:47:05 2016 +0300 @@ -20,19 +20,21 @@ # Rules to configure and make the package. compile_rules() { - cd $src export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm" ./configure --prefix=/usr $CONFIGURE_ARGS && make -j1 && make -j1 install + + mkdir -p $install/usr/share/man/man1 + cp -a $src/doc/*.1 $install/usr/share/man/man1 + cook_compress_manpages } - + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib + mkdir -p $fs/usr/lib cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib/*so* $fs/usr/lib/ cp -a $install/usr/share $fs/usr - } diff -r 2111808c7258 -r 7f39549720b8 audacious/receipt --- a/audacious/receipt Mon Jul 04 10:47:24 2016 +0200 +++ b/audacious/receipt Mon Jul 04 14:47:05 2016 +0300 @@ -17,7 +17,6 @@ # Rules to configure and make the package. compile_rules() { - cd $src sed -i "s/touch -t 0001010000 /touch /g" configure ./configure \ --prefix=/usr \ @@ -27,6 +26,8 @@ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 2111808c7258 -r 7f39549720b8 audacity/receipt --- a/audacity/receipt Mon Jul 04 10:47:24 2016 +0200 +++ b/audacity/receipt Mon Jul 04 14:47:05 2016 +0300 @@ -26,6 +26,8 @@ --with-ffmpeg=local \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 2111808c7258 -r 7f39549720b8 audiofile/receipt --- a/audiofile/receipt Mon Jul 04 10:47:24 2016 +0200 +++ b/audiofile/receipt Mon Jul 04 14:47:05 2016 +0300 @@ -17,10 +17,11 @@ # Rules to configure and make the package. compile_rules() { - cd $src ./configure \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -30,4 +31,3 @@ cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib/*.so* $fs/usr/lib } - diff -r 2111808c7258 -r 7f39549720b8 audit/receipt --- a/audit/receipt Mon Jul 04 10:47:24 2016 +0200 +++ b/audit/receipt Mon Jul 04 14:47:05 2016 +0300 @@ -16,17 +16,18 @@ # Rules to configure and make the package. compile_rules() { - cd $src ./configure --prefix=/usr --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var --sbindir=/sbin \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install + + cook_compress_manpages } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/sbin $fs/ diff -r 2111808c7258 -r 7f39549720b8 aufs-utils/receipt --- a/aufs-utils/receipt Mon Jul 04 10:47:24 2016 +0200 +++ b/aufs-utils/receipt Mon Jul 04 14:47:05 2016 +0300 @@ -21,8 +21,10 @@ cd $src sed -i 's|.*AUFS_XINO_TRUNC_|// &|' c2tmac.c sed -i 's/-m 644 -T/-m 644/' Makefile - make && + make && make DESTDIR=$DESTDIR install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -32,4 +34,3 @@ cp -a $install/sbin $fs cp -a $install/usr/bin $fs/usr } - diff -r 2111808c7258 -r 7f39549720b8 autoconf/receipt --- a/autoconf/receipt Mon Jul 04 10:47:24 2016 +0200 +++ b/autoconf/receipt Mon Jul 04 14:47:05 2016 +0300 @@ -16,8 +16,9 @@ # Rules to compile & install the temporary toolchain. cook_tmp_toolchain() { - cd $src ./configure && make && make install + + cook_compress_manpages } # Rules to configure and make the package. @@ -26,6 +27,8 @@ ./configure $CONFIGURE_ARGS && make && make install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 2111808c7258 -r 7f39549720b8 autofs/receipt --- a/autofs/receipt Mon Jul 04 10:47:24 2016 +0200 +++ b/autofs/receipt Mon Jul 04 14:47:05 2016 +0300 @@ -18,13 +18,14 @@ # Rules to configure and make the package. compile_rules() { - cd $src sed -i -e 's/-b --suffix=.orig//' -e 's/install -v/install/' */Makefile* ./configure --prefix=/usr --infodir=/usr/share/info \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 2111808c7258 -r 7f39549720b8 automake/receipt --- a/automake/receipt Mon Jul 04 10:47:24 2016 +0200 +++ b/automake/receipt Mon Jul 04 14:47:05 2016 +0300 @@ -25,6 +25,8 @@ ./configure $CONFIGURE_ARGS && make && make install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 2111808c7258 -r 7f39549720b8 autossh/receipt --- a/autossh/receipt Mon Jul 04 10:47:24 2016 +0200 +++ b/autossh/receipt Mon Jul 04 14:47:05 2016 +0300 @@ -20,6 +20,10 @@ ./configure --prefix=/usr \ $CONFIGURE_ARGS && make + + mkdir -p $install/usr/share/man/man1 + cp -a $src/autossh.1 $install/usr/share/man/man1 + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 2111808c7258 -r 7f39549720b8 avidemux/receipt --- a/avidemux/receipt Mon Jul 04 10:47:24 2016 +0200 +++ b/avidemux/receipt Mon Jul 04 14:47:05 2016 +0300 @@ -21,7 +21,6 @@ # Rules to configure and make the package. compile_rules() { - cd $src # grep -q ADM_CPU_X86_64 avidemux/ADM*/src/ADM_vidField[sA]*.cpp || # sed -i 's/ADM_CPU_X86/ADM_CPU_X86_64/' \ # avidemux/ADM_coreImage/src/ADM_vidField[sA]*.cpp @@ -52,6 +51,10 @@ cp $src/avidemux_icon.png $DESTDIR/usr/share/pixmaps/avidemux.png cp $src/avidemux2.desktop $DESTDIR/usr/share/applications rm -rf $src/built $src/plugins/build + + mkdir -p $install/usr/share/man/man1 + cp -a $src/man/avidemux.1 $install/usr/share/man/man1 + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -61,5 +64,4 @@ cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib $fs/usr cp -a $install/usr/share/ADM_scripts $fs/usr/share - } diff -r 2111808c7258 -r 7f39549720b8 axel/receipt --- a/axel/receipt Mon Jul 04 10:47:24 2016 +0200 +++ b/axel/receipt Mon Jul 04 14:47:05 2016 +0300 @@ -15,18 +15,19 @@ # Rules to configure and make the package. compile_rules() { - cd $src - ./configure --prefix=/usr \ - --i18n=0 \ - $CONFIGURE_ARGS && - make && - make install DESTDIR=$DESTDIR + ./configure --prefix=/usr \ + --i18n=0 \ + $CONFIGURE_ARGS && + make && + make install DESTDIR=$DESTDIR + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/bin $fs/usr - cp -a $install/etc $fs/ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr + cp -a $install/etc $fs/ } diff -r 2111808c7258 -r 7f39549720b8 ayttm/receipt --- a/ayttm/receipt Mon Jul 04 10:47:24 2016 +0200 +++ b/ayttm/receipt Mon Jul 04 14:47:05 2016 +0300 @@ -24,6 +24,8 @@ --disable-webcam --disable-esd --disable-arts --disable-webcam \ --enable-lj && make && make install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg.