# HG changeset patch # User Aleksej Bobylev # Date 1467582889 -10800 # Node ID 45507bfb2b0d5b0a157203a8630fd39140d98f49 # Parent 9107a81c9abd930ed7f4001436e0a5de2d96399e Compress manpages (in $install/usr/share/man/...) diff -r 9107a81c9abd -r 45507bfb2b0d 0install/receipt --- a/0install/receipt Sun Jul 03 19:43:57 2016 +0100 +++ b/0install/receipt Mon Jul 04 00:54:49 2016 +0300 @@ -20,6 +20,8 @@ python setup.py install --root=$DESTDIR # move man pages in a right place mv $install/usr/man $install/usr/share + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 9107a81c9abd -r 45507bfb2b0d GConf/receipt --- a/GConf/receipt Sun Jul 03 19:43:57 2016 +0100 +++ b/GConf/receipt Mon Jul 04 00:54:49 2016 +0300 @@ -26,6 +26,8 @@ --libexecdir=/usr/lib/GConf \ $CONFIGURE_ARGS && make && make install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 9107a81c9abd -r 45507bfb2b0d Geomyidae/receipt --- a/Geomyidae/receipt Sun Jul 03 19:43:57 2016 +0100 +++ b/Geomyidae/receipt Mon Jul 04 00:54:49 2016 +0300 @@ -18,6 +18,8 @@ sed -i 's|/man/|/share&|' $src/Makefile make && make DESTDIR=$DESTDIR install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 9107a81c9abd -r 45507bfb2b0d R/receipt --- a/R/receipt Sun Jul 03 19:43:57 2016 +0100 +++ b/R/receipt Mon Jul 04 00:54:49 2016 +0300 @@ -28,6 +28,8 @@ --with-system-pcre \ $CONFIGURE_ARGS && make && make DESTDIR=$install install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 9107a81c9abd -r 45507bfb2b0d TiMidity++/receipt --- a/TiMidity++/receipt Sun Jul 03 19:43:57 2016 +0100 +++ b/TiMidity++/receipt Mon Jul 04 00:54:49 2016 +0300 @@ -17,17 +17,18 @@ # Rules to configure and make the package. compile_rules() { - cd $src ./configure --prefix=/usr \ --enable-audio=alsa,portaudio,jack,ao,vorbis,flac \ --enable-interface=gtk,xaw \ - --enable-alsaseq + --enable-alsaseq 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 cp -a $install/usr/bin $fs/usr @@ -44,4 +45,3 @@ { rm -rf "$1/usr/share/timidity" } - diff -r 9107a81c9abd -r 45507bfb2b0d Xdialog/receipt --- a/Xdialog/receipt Sun Jul 03 19:43:57 2016 +0100 +++ b/Xdialog/receipt Mon Jul 04 00:54:49 2016 +0300 @@ -19,7 +19,6 @@ # Rules to configure and make the package. compile_rules() { - cd $src autoconf && ./configure \ --with-gtk2 \ @@ -30,6 +29,8 @@ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 9107a81c9abd -r 45507bfb2b0d a2ps/receipt --- a/a2ps/receipt Sun Jul 03 19:43:57 2016 +0100 +++ b/a2ps/receipt Mon Jul 04 00:54:49 2016 +0300 @@ -16,12 +16,13 @@ # Rules to configure and make the package. compile_rules() { - cd $src # Be busybox sort compatible sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh ./configure --sysconfdir=/etc $CONFIGURE_ARGS && make 2>&1 | grep -v fonts.map.new && make install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 9107a81c9abd -r 45507bfb2b0d aalib/receipt --- a/aalib/receipt Sun Jul 03 19:43:57 2016 +0100 +++ b/aalib/receipt Mon Jul 04 00:54:49 2016 +0300 @@ -17,10 +17,12 @@ # Rules to configure and make the package. compile_rules() { - cd $src patch -Np0 -i $stuff/aclocal-fixes.patch - ./configure $CONFIGURE_ARGS && + + ./configure $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 9107a81c9abd -r 45507bfb2b0d abiword/receipt --- a/abiword/receipt Sun Jul 03 19:43:57 2016 +0100 +++ b/abiword/receipt Mon Jul 04 00:54:49 2016 +0300 @@ -24,7 +24,6 @@ # Rules to configure and make the package. compile_rules() { - cd $src sed -i 's|glib/gmacros.h|glib.h|' goffice-bits/goffice/app/goffice-app.h sed -i 's|glib/gerror.h|glib.h|' src/af/util/xp/ut_go_file.h sed -i 's|--no-undefined||' src/Makefile* @@ -43,6 +42,8 @@ cd plugins make DESTDIR=$DESTDIR install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 9107a81c9abd -r 45507bfb2b0d acct/receipt --- a/acct/receipt Sun Jul 03 19:43:57 2016 +0100 +++ b/acct/receipt Mon Jul 04 00:54:49 2016 +0300 @@ -20,21 +20,24 @@ # Rules to configure and make the package. compile_rules() { - ./configure --prefix=/usr \ - $CONFIGURE_ARGS && - make $MAKEFLAGS && - make DESTDIR=$DESTDIR install + ./configure \ + --prefix=/usr \ + $CONFIGURE_ARGS && + make $MAKEFLAGS && + make DESTDIR=$DESTDIR install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/bin - cp -a $install/usr/bin/* $fs/usr/bin + mkdir -p $fs/usr/bin + cp -a $install/usr/bin/* $fs/usr/bin - mkdir -p $fs/usr/sbin - cp -a $install/usr/sbin/* $fs/usr/sbin + mkdir -p $fs/usr/sbin + cp -a $install/usr/sbin/* $fs/usr/sbin - mkdir -p $fs/usr/share - cp -a $install/usr/share/* $fs/usr/share + mkdir -p $fs/usr/share + cp -a $install/usr/share/* $fs/usr/share } diff -r 9107a81c9abd -r 45507bfb2b0d acl/receipt --- a/acl/receipt Sun Jul 03 19:43:57 2016 +0100 +++ b/acl/receipt Mon Jul 04 00:54:49 2016 +0300 @@ -45,6 +45,8 @@ # .so and .la files must be executable find $install -type f -name '*.[sl][oa]*' -exec chmod a+x \{\} \; sed -i "s|libdir='/lib'|libdir='/usr/lib'|" $install/usr/lib/libacl.la + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 9107a81c9abd -r 45507bfb2b0d acpid/receipt --- a/acpid/receipt Sun Jul 03 19:43:57 2016 +0100 +++ b/acpid/receipt Mon Jul 04 00:54:49 2016 +0300 @@ -16,11 +16,11 @@ # Rules to configure and make the package. compile_rules() { - # Build - cd $src ./configure --prefix=/usr $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 9107a81c9abd -r 45507bfb2b0d advancecomp/receipt --- a/advancecomp/receipt Sun Jul 03 19:43:57 2016 +0100 +++ b/advancecomp/receipt Mon Jul 04 00:54:49 2016 +0300 @@ -22,6 +22,8 @@ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 9107a81c9abd -r 45507bfb2b0d aescrypt/receipt --- a/aescrypt/receipt Sun Jul 03 19:43:57 2016 +0100 +++ b/aescrypt/receipt Mon Jul 04 00:54:49 2016 +0300 @@ -16,6 +16,10 @@ { cd $src/src make + + mkdir -p $install/usr/share/man/man1 + cp -a $src/man/aescrypt.1 $install/usr/share/man/man1 + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -25,4 +29,3 @@ cp -a $src/src/aescrypt $fs/usr/bin cp -a $src/src/aescrypt_keygen $fs/usr/bin } - diff -r 9107a81c9abd -r 45507bfb2b0d aespipe/receipt --- a/aespipe/receipt Sun Jul 03 19:43:57 2016 +0100 +++ b/aespipe/receipt Mon Jul 04 00:54:49 2016 +0300 @@ -17,6 +17,8 @@ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 9107a81c9abd -r 45507bfb2b0d afio/receipt --- a/afio/receipt Sun Jul 03 19:43:57 2016 +0100 +++ b/afio/receipt Mon Jul 04 00:54:49 2016 +0300 @@ -17,6 +17,10 @@ compile_rules() { make + + mkdir -p $install/usr/share/man/man1 + cp -a $src/afio.1 $install/usr/share/man/man1 + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 9107a81c9abd -r 45507bfb2b0d afpfs-ng/receipt --- a/afpfs-ng/receipt Sun Jul 03 19:43:57 2016 +0100 +++ b/afpfs-ng/receipt Mon Jul 04 00:54:49 2016 +0300 @@ -16,9 +16,10 @@ # Rules to configure and make the package. compile_rules() { - cd $src ./configure $CONFIGURE_ARGS && make && make install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 9107a81c9abd -r 45507bfb2b0d aircrack-ng/receipt --- a/aircrack-ng/receipt Sun Jul 03 19:43:57 2016 +0100 +++ b/aircrack-ng/receipt Mon Jul 04 00:54:49 2016 +0300 @@ -16,16 +16,17 @@ # Rules to configure and make the package. compile_rules() { - cd $src sed -i s#/usr/local#/usr#g common.mak || return 1 sed -i s#/man/man1#/share/man/man1# common.mak || return 1 - + # fix build with gcc45 sed -i s/-Werror// common.mak || return 1 - + make SQLITE=true unstable=true && make SQLITE=true unstable=true DESTDIR=$DESTDIR install sed -i 's|/usr/local||g' $DESTDIR/usr/sbin/airodump-ng-oui-update + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 9107a81c9abd -r 45507bfb2b0d airoscript-ng/receipt --- a/airoscript-ng/receipt Sun Jul 03 19:43:57 2016 +0100 +++ b/airoscript-ng/receipt Mon Jul 04 00:54:49 2016 +0300 @@ -15,7 +15,6 @@ # Rules to configure and make the package. compile_rules() { - cd $src # Remove broken install parts sed -i '/install-docs \\/ d' Makefile-Linux sed -i '/install-locale \\/ d' Makefile-Linux @@ -30,6 +29,9 @@ # Patch executable to find config files sed -i 's/etc\//etc\/airoscript-ng\//g' $DESTDIR/usr/sbin/$PACKAGE + + cp -a $src/src/airoscript-ng.1 $install/usr/share/man/man1 + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -40,4 +42,3 @@ cp -a $install/usr/share/airoscript-ng $fs/usr/share cp -a $install/etc $fs } - diff -r 9107a81c9abd -r 45507bfb2b0d airpwn/receipt --- a/airpwn/receipt Sun Jul 03 19:43:57 2016 +0100 +++ b/airpwn/receipt Mon Jul 04 00:54:49 2016 +0300 @@ -17,7 +17,6 @@ # Rules to configure and make the package. compile_rules() { - cd $src # Patch configure to link libcrypto patch -Np1 -i $stuff/link-libcrypto.patch @@ -37,6 +36,8 @@ --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 9107a81c9abd -r 45507bfb2b0d airsnort/receipt --- a/airsnort/receipt Sun Jul 03 19:43:57 2016 +0100 +++ b/airsnort/receipt Mon Jul 04 00:54:49 2016 +0300 @@ -16,13 +16,14 @@ # Rules to configure and make the package. compile_rules() { - cd $src ./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 9107a81c9abd -r 45507bfb2b0d airstrike/receipt --- a/airstrike/receipt Sun Jul 03 19:43:57 2016 +0100 +++ b/airstrike/receipt Mon Jul 04 00:54:49 2016 +0300 @@ -18,11 +18,14 @@ # Rules to configure and make the package. compile_rules() { - cd $src sed -i 's/-lSDL_image/& -lm/' src/Makefile sed -i 's|"airstrikerc"|"/usr/share/airstrike/airstrikerc"|' src/config.h sed -i 's|"data/|"/usr/share/airstrike/data/|g' src/airstrike.c make + + mkdir -p $install/usr/share/man/man6 + cp -a $src/doc/airstrike.6 $install/usr/share/man/man6 + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg.