# HG changeset patch # User Aleksej Bobylev # Date 1467615909 -10800 # Node ID f0a0b5091b4a8828170fa506b6552d7dd38e6d46 # Parent 45507bfb2b0d5b0a157203a8630fd39140d98f49 Compress manpages. diff -r 45507bfb2b0d -r f0a0b5091b4a ajaxterm/receipt --- a/ajaxterm/receipt Mon Jul 04 00:54:49 2016 +0300 +++ b/ajaxterm/receipt Mon Jul 04 10:05:09 2016 +0300 @@ -23,6 +23,10 @@ cp -a $stuff/* $fs/ chown -R root:root $fs find $fs -type f -name '*.py' -exec chmod a+x \{\} \; + + mkdir -p $install/usr/share/man/man1 + cp -a $src/ajaxterm.1 $install/usr/share/man/man1 + cook_compress_manpages } post_install() diff -r 45507bfb2b0d -r f0a0b5091b4a aldo/receipt --- a/aldo/receipt Mon Jul 04 00:54:49 2016 +0300 +++ b/aldo/receipt Mon Jul 04 10:05:09 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 45507bfb2b0d -r f0a0b5091b4a alpine/receipt --- a/alpine/receipt Mon Jul 04 00:54:49 2016 +0300 +++ b/alpine/receipt Mon Jul 04 10:05:09 2016 +0300 @@ -24,6 +24,8 @@ --without-krb5 \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 45507bfb2b0d -r f0a0b5091b4a alsa-tools/receipt --- a/alsa-tools/receipt Mon Jul 04 00:54:49 2016 +0300 +++ b/alsa-tools/receipt Mon Jul 04 10:05:09 2016 +0300 @@ -31,4 +31,6 @@ ./configure $CONFIGURE_ARGS make && make DESTDIR=$DESTDIR install done + + cook_compress_manpages } diff -r 45507bfb2b0d -r f0a0b5091b4a alsa-utils/receipt --- a/alsa-utils/receipt Mon Jul 04 00:54:49 2016 +0300 +++ b/alsa-utils/receipt Mon Jul 04 10:05:09 2016 +0300 @@ -23,6 +23,8 @@ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 45507bfb2b0d -r f0a0b5091b4a alsaplayer/receipt --- a/alsaplayer/receipt Mon Jul 04 00:54:49 2016 +0300 +++ b/alsaplayer/receipt Mon Jul 04 10:05:09 2016 +0300 @@ -13,7 +13,7 @@ HOST_ARCH="i486 arm" SUGGESTED="alsaplayer-scopes libid3tag flac" -DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage" +DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage" BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev" # Handle cross compilation. @@ -38,6 +38,8 @@ # Chmod install-sh to avoid install error. chmod 755 install-sh && make DESTDIR=$DESTDIR install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 45507bfb2b0d -r f0a0b5091b4a amule/receipt --- a/amule/receipt Mon Jul 04 00:54:49 2016 +0300 +++ b/amule/receipt Mon Jul 04 10:05:09 2016 +0300 @@ -24,6 +24,8 @@ $CONFIGURE_ARGS && make $MAKEFLAGS && make DESTDIR=$DESTDIR install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 45507bfb2b0d -r f0a0b5091b4a anacron/receipt --- a/anacron/receipt Mon Jul 04 00:54:49 2016 +0300 +++ b/anacron/receipt Mon Jul 04 10:05:09 2016 +0300 @@ -16,14 +16,17 @@ # Rules to configure and make the package. compile_rules() { - cd $src sed -i "s|^PREFIX =.*|PREFIX = $DESTDIR|" Makefile sed -i 's/const int isleap/int isleap/' gregor.c make 2>&1 | grep -v Makefile:57 && make install + + mkdir -p $install/usr/share + mv $install/usr/man $install/usr/share + 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() { cp -a $install/* $fs find $fs/usr/man -type f -exec chmod a-x \{\} \; diff -r 45507bfb2b0d -r f0a0b5091b4a ansible/receipt --- a/ansible/receipt Mon Jul 04 00:54:49 2016 +0300 +++ b/ansible/receipt Mon Jul 04 10:05:09 2016 +0300 @@ -19,6 +19,10 @@ { python setup.py build python setup.py install --root=$DESTDIR + + mkdir -p $install/usr/share/man/man1 + cp -a $src/docs/man/man1/*.1 $install/usr/share/man/man1 + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 45507bfb2b0d -r f0a0b5091b4a antinat/receipt --- a/antinat/receipt Mon Jul 04 00:54:49 2016 +0300 +++ b/antinat/receipt Mon Jul 04 10:05:09 2016 +0300 @@ -16,14 +16,19 @@ # Rules to configure and make the package. compile_rules() { - cd $src ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS && make && make prefix=$DESTDIR/usr install + + for i in 1 3 4; do + mkdir -p $install/usr/share/man/man$i + cp -a $src/man/*.$i $install/usr/share/man/man$i + done + 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 $fs/etc cp $src/etc/antinat.xml $fs/etc diff -r 45507bfb2b0d -r f0a0b5091b4a apache/receipt --- a/apache/receipt Mon Jul 04 00:54:49 2016 +0300 +++ b/apache/receipt Mon Jul 04 10:05:09 2016 +0300 @@ -30,6 +30,8 @@ --enable-ssl \ --enable-layout=Slitaz $CONFIGURE_ARGS && make $MAKEFLAGS && make DESTDIR=$DESTDIR install + + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 45507bfb2b0d -r f0a0b5091b4a apcupsd/receipt --- a/apcupsd/receipt Mon Jul 04 00:54:49 2016 +0300 +++ b/apcupsd/receipt Mon Jul 04 10:05:09 2016 +0300 @@ -15,7 +15,6 @@ # Rules to configure and make the package. compile_rules() { - cd $src sed -i 's/src platforms doc/src platforms/' Makefile SHUTDOWN=/sbin/poweroff ac_cv_func_setpgrp_void=yes ./configure \ --enable-usb \ @@ -30,6 +29,12 @@ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make install + + for i in 5 8; do + mkdir -p $install/usr/share/man/man$i + cp -a $src/doc/*.$i $install/usr/share/man/man$i + done + cook_compress_manpages } # Rules to gen a SliTaz package suitable for Tazpkg.