wok rev 19269

Compress manpages.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 04 14:47:05 2016 +0300 (2016-07-04)
parents 2111808c7258
children e481e85001c2
files ardour/receipt at/receipt aterm/receipt atftp/receipt atm-tools/receipt atril/receipt attr/receipt aubio/receipt audacious/receipt audacity/receipt audiofile/receipt audit/receipt aufs-utils/receipt autoconf/receipt autofs/receipt automake/receipt autossh/receipt avidemux/receipt axel/receipt ayttm/receipt
line diff
     1.1 --- a/ardour/receipt	Mon Jul 04 10:47:24 2016 +0200
     1.2 +++ b/ardour/receipt	Mon Jul 04 14:47:05 2016 +0300
     1.3 @@ -60,7 +60,7 @@
     1.4  	cp -a $src/ardour.1 $install/usr/share/man/man1
     1.5  	for i in es fr ru; do
     1.6  		mkdir -p $install/usr/share/man/$i/man1
     1.7 -		cp -a $src/ardour.1.$i $install/usr/share/man/$i/man1
     1.8 +		cp -a $src/ardour.1.$i $install/usr/share/man/$i/man1/ardour.1
     1.9  	done
    1.10  	cook_compress_manpages
    1.11  }
     2.1 --- a/at/receipt	Mon Jul 04 10:47:24 2016 +0200
     2.2 +++ b/at/receipt	Mon Jul 04 14:47:05 2016 +0300
     2.3 @@ -15,8 +15,6 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 -	cd $src
     2.8 -
     2.9  	./configure --with-daemon_username=nobody \
    2.10  	--with-daemon_groupname=nogroup \
    2.11  	--with-atspool=/var/spool/atd \
    2.12 @@ -24,6 +22,8 @@
    2.13  	$CONFIGURE_ARGS &&
    2.14  	make -j1 &&
    2.15  	make -j1 IROOT=$DESTDIR install
    2.16 +
    2.17 +	cook_compress_manpages
    2.18  }
    2.19  
    2.20  # Rules to gen a SliTaz package suitable for Tazpkg.
     3.1 --- a/aterm/receipt	Mon Jul 04 10:47:24 2016 +0200
     3.2 +++ b/aterm/receipt	Mon Jul 04 14:47:05 2016 +0300
     3.3 @@ -24,6 +24,8 @@
     3.4  	esac
     3.5  	./configure $CONFIGURE_ARGS &&
     3.6  	make && make install
     3.7 +
     3.8 +	cook_compress_manpages
     3.9  }
    3.10  
    3.11  # Rules to gen a SliTaz package suitable for Tazpkg.
     4.1 --- a/atftp/receipt	Mon Jul 04 10:47:24 2016 +0200
     4.2 +++ b/atftp/receipt	Mon Jul 04 14:47:05 2016 +0300
     4.3 @@ -17,7 +17,6 @@
     4.4  # Rules to configure and make the package.
     4.5  compile_rules()
     4.6  {
     4.7 -	cd $src
     4.8  	sed -i  -e 's/char \*__entry) __THROW/char *__entry))/' \
     4.9  		-e 's/^_*argz_next/__NTH(&/' argz.h
    4.10  	sed -i 's/CLK_TCK/CLOCKS_PER_SEC/' stats.c
    4.11 @@ -26,6 +25,8 @@
    4.12  	$CONFIGURE_ARGS &&
    4.13  	make &&
    4.14  	make DESTDIR=$DESTDIR install
    4.15 +
    4.16 +	cook_compress_manpages
    4.17  }
    4.18  
    4.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.20 @@ -34,4 +35,3 @@
    4.21  	mkdir -p $fs/usr
    4.22  	cp -a $install/usr/bin $fs/usr
    4.23  }
    4.24 -
     5.1 --- a/atm-tools/receipt	Mon Jul 04 10:47:24 2016 +0200
     5.2 +++ b/atm-tools/receipt	Mon Jul 04 14:47:05 2016 +0300
     5.3 @@ -17,12 +17,13 @@
     5.4  # Rules to configure and make the package.
     5.5  compile_rules()
     5.6  {
     5.7 -	cd $src
     5.8  	busybox patch -p0 < $stuff/MAX_PATH.u
     5.9  	./configure --prefix=/usr --infodir=/usr/share/info \
    5.10  	--sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
    5.11  	make -j1 &&
    5.12  	make -j1 DESTDIR=$DESTDIR install
    5.13 +
    5.14 +	cook_compress_manpages
    5.15  }
    5.16  
    5.17  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.18 @@ -34,4 +35,3 @@
    5.19  	cp -a $install/usr/sbin $fs/usr
    5.20  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    5.21  }
    5.22 -
     6.1 --- a/atril/receipt	Mon Jul 04 10:47:24 2016 +0200
     6.2 +++ b/atril/receipt	Mon Jul 04 14:47:05 2016 +0300
     6.3 @@ -20,11 +20,15 @@
     6.4  # Rules to configure and make the package.
     6.5  compile_rules()
     6.6  {
     6.7 -	./autogen.sh                   \
     6.8 -		--prefix=/usr          \
     6.9 +	./autogen.sh \
    6.10 +		--prefix=/usr \
    6.11  		$CONFIGURE_ARGS &&
    6.12  	make &&
    6.13  	make DESTDIR=$DESTDIR install
    6.14 +
    6.15 +	mkdir -p $install/usr/share/man/man1
    6.16 +	cp $src/data/atril.1 $install/usr/share/man/man1
    6.17 +	cook_compress_manpages
    6.18  }
    6.19  
    6.20  # Rules to gen a SliTaz package suitable for Tazpkg.
     7.1 --- a/attr/receipt	Mon Jul 04 10:47:24 2016 +0200
     7.2 +++ b/attr/receipt	Mon Jul 04 14:47:05 2016 +0300
     7.3 @@ -22,13 +22,11 @@
     7.4  # Rules to configure and make the package.
     7.5  compile_rules()
     7.6  {
     7.7 -	cd $src
     7.8 -
     7.9  	# Need bash sh to compile
    7.10  	mv /bin/sh /bin/sh.bak
    7.11  	ln -s /bin/bash /bin/sh
    7.12  
    7.13 -	# No need to use rpm	
    7.14 +	# No need to use rpm
    7.15  	rm /bin/rpm
    7.16  
    7.17  	export INSTALL_USER=root INSTALL_GROUP=root
    7.18 @@ -38,6 +36,8 @@
    7.19  	make install install-lib install-dev DIST_ROOT=$DESTDIR
    7.20  	
    7.21  	mv -f /bin/sh.bak /bin/sh
    7.22 +
    7.23 +	cook_compress_manpages
    7.24  }
    7.25  
    7.26  # Rules to gen a SliTaz package suitable for Tazpkg.
     8.1 --- a/aubio/receipt	Mon Jul 04 10:47:24 2016 +0200
     8.2 +++ b/aubio/receipt	Mon Jul 04 14:47:05 2016 +0300
     8.3 @@ -20,19 +20,21 @@
     8.4  # Rules to configure and make the package.
     8.5  compile_rules()
     8.6  {
     8.7 -	cd $src
     8.8  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm"
     8.9  	./configure --prefix=/usr $CONFIGURE_ARGS &&
    8.10  	make -j1 &&
    8.11  	make -j1 install
    8.12 +
    8.13 +	mkdir -p $install/usr/share/man/man1
    8.14 +	cp -a $src/doc/*.1 $install/usr/share/man/man1
    8.15 +	cook_compress_manpages
    8.16  }
    8.17 -	
    8.18 +
    8.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    8.20  genpkg_rules()
    8.21  {
    8.22 -	mkdir -p $fs/usr/lib 
    8.23 +	mkdir -p $fs/usr/lib
    8.24  	cp -a $install/usr/bin $fs/usr
    8.25  	cp -a $install/usr/lib/*so* $fs/usr/lib/
    8.26  	cp -a $install/usr/share $fs/usr
    8.27 -
    8.28  }
     9.1 --- a/audacious/receipt	Mon Jul 04 10:47:24 2016 +0200
     9.2 +++ b/audacious/receipt	Mon Jul 04 14:47:05 2016 +0300
     9.3 @@ -17,7 +17,6 @@
     9.4  # Rules to configure and make the package.
     9.5  compile_rules()
     9.6  {
     9.7 -	cd $src
     9.8  	sed -i "s/touch -t 0001010000 /touch /g" configure
     9.9  	./configure \
    9.10  		--prefix=/usr \
    9.11 @@ -27,6 +26,8 @@
    9.12  		$CONFIGURE_ARGS &&
    9.13  	make &&
    9.14  	make DESTDIR=$DESTDIR install
    9.15 +
    9.16 +	cook_compress_manpages
    9.17  }
    9.18  
    9.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    10.1 --- a/audacity/receipt	Mon Jul 04 10:47:24 2016 +0200
    10.2 +++ b/audacity/receipt	Mon Jul 04 14:47:05 2016 +0300
    10.3 @@ -26,6 +26,8 @@
    10.4  		--with-ffmpeg=local \
    10.5  		$CONFIGURE_ARGS &&
    10.6  	make && make DESTDIR=$DESTDIR 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/audiofile/receipt	Mon Jul 04 10:47:24 2016 +0200
    11.2 +++ b/audiofile/receipt	Mon Jul 04 14:47:05 2016 +0300
    11.3 @@ -17,10 +17,11 @@
    11.4  # Rules to configure and make the package.
    11.5  compile_rules()
    11.6  {
    11.7 -	cd $src
    11.8  	./configure \
    11.9  		$CONFIGURE_ARGS &&
   11.10  	make && make DESTDIR=$DESTDIR install
   11.11 +
   11.12 +	cook_compress_manpages
   11.13  }
   11.14  
   11.15  # Rules to gen a SliTaz package suitable for Tazpkg.
   11.16 @@ -30,4 +31,3 @@
   11.17  	cp -a $install/usr/bin $fs/usr
   11.18  	cp -a $install/usr/lib/*.so* $fs/usr/lib
   11.19  }
   11.20 -
    12.1 --- a/audit/receipt	Mon Jul 04 10:47:24 2016 +0200
    12.2 +++ b/audit/receipt	Mon Jul 04 14:47:05 2016 +0300
    12.3 @@ -16,17 +16,18 @@
    12.4  # Rules to configure and make the package.
    12.5  compile_rules()
    12.6  {
    12.7 -	cd $src
    12.8  	./configure --prefix=/usr --sysconfdir=/etc \
    12.9  		--mandir=/usr/share/man \
   12.10  		--localstatedir=/var --sbindir=/sbin \
   12.11  	$CONFIGURE_ARGS &&
   12.12  	make &&
   12.13  	make DESTDIR=$DESTDIR install
   12.14 +
   12.15 +	cook_compress_manpages
   12.16  }
   12.17  
   12.18 -# Rules to gen a SliTaz package suitable for Tazpkg.   
   12.19 -genpkg_rules()                                      
   12.20 +# Rules to gen a SliTaz package suitable for Tazpkg.
   12.21 +genpkg_rules()
   12.22  {
   12.23  	mkdir -p $fs/usr/lib
   12.24  	cp -a $install/sbin $fs/
    13.1 --- a/aufs-utils/receipt	Mon Jul 04 10:47:24 2016 +0200
    13.2 +++ b/aufs-utils/receipt	Mon Jul 04 14:47:05 2016 +0300
    13.3 @@ -21,8 +21,10 @@
    13.4  	cd $src
    13.5  	sed -i 's|.*AUFS_XINO_TRUNC_|// &|' c2tmac.c
    13.6  	sed -i 's/-m 644 -T/-m 644/' Makefile
    13.7 -	make && 
    13.8 +	make &&
    13.9  	make DESTDIR=$DESTDIR install
   13.10 +
   13.11 +	cook_compress_manpages
   13.12  }
   13.13  
   13.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   13.15 @@ -32,4 +34,3 @@
   13.16  	cp -a $install/sbin $fs
   13.17  	cp -a $install/usr/bin $fs/usr
   13.18  }
   13.19 -
    14.1 --- a/autoconf/receipt	Mon Jul 04 10:47:24 2016 +0200
    14.2 +++ b/autoconf/receipt	Mon Jul 04 14:47:05 2016 +0300
    14.3 @@ -16,8 +16,9 @@
    14.4  # Rules to compile & install the temporary toolchain.
    14.5  cook_tmp_toolchain()
    14.6  {
    14.7 -	cd $src
    14.8  	./configure && make && make install
    14.9 +
   14.10 +	cook_compress_manpages
   14.11  }
   14.12  
   14.13  # Rules to configure and make the package.
   14.14 @@ -26,6 +27,8 @@
   14.15  	./configure $CONFIGURE_ARGS &&
   14.16  	make &&
   14.17  	make install
   14.18 +
   14.19 +	cook_compress_manpages
   14.20  }
   14.21  
   14.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    15.1 --- a/autofs/receipt	Mon Jul 04 10:47:24 2016 +0200
    15.2 +++ b/autofs/receipt	Mon Jul 04 14:47:05 2016 +0300
    15.3 @@ -18,13 +18,14 @@
    15.4  # Rules to configure and make the package.
    15.5  compile_rules()
    15.6  {
    15.7 -	cd $src
    15.8  	sed -i -e 's/-b --suffix=.orig//' -e 's/install -v/install/' */Makefile*
    15.9  	./configure --prefix=/usr --infodir=/usr/share/info \
   15.10  	--mandir=/usr/share/man \
   15.11  	$CONFIGURE_ARGS &&
   15.12  	make &&
   15.13  	make DESTDIR=$DESTDIR install
   15.14 +
   15.15 +	cook_compress_manpages
   15.16  }
   15.17  
   15.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    16.1 --- a/automake/receipt	Mon Jul 04 10:47:24 2016 +0200
    16.2 +++ b/automake/receipt	Mon Jul 04 14:47:05 2016 +0300
    16.3 @@ -25,6 +25,8 @@
    16.4  	./configure $CONFIGURE_ARGS &&
    16.5  	make &&
    16.6  	make install
    16.7 +
    16.8 +	cook_compress_manpages
    16.9  }
   16.10  
   16.11  # Rules to gen a SliTaz package suitable for Tazpkg.
    17.1 --- a/autossh/receipt	Mon Jul 04 10:47:24 2016 +0200
    17.2 +++ b/autossh/receipt	Mon Jul 04 14:47:05 2016 +0300
    17.3 @@ -20,6 +20,10 @@
    17.4  	./configure --prefix=/usr \
    17.5  		$CONFIGURE_ARGS &&
    17.6  	make
    17.7 +
    17.8 +	mkdir -p $install/usr/share/man/man1
    17.9 +	cp -a $src/autossh.1 $install/usr/share/man/man1
   17.10 +	cook_compress_manpages
   17.11  }
   17.12  
   17.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    18.1 --- a/avidemux/receipt	Mon Jul 04 10:47:24 2016 +0200
    18.2 +++ b/avidemux/receipt	Mon Jul 04 14:47:05 2016 +0300
    18.3 @@ -21,7 +21,6 @@
    18.4  # Rules to configure and make the package.
    18.5  compile_rules()
    18.6  {
    18.7 -	cd $src
    18.8  	# grep -q ADM_CPU_X86_64 avidemux/ADM*/src/ADM_vidField[sA]*.cpp ||
    18.9  	# sed -i 's/ADM_CPU_X86/ADM_CPU_X86_64/' \
   18.10  	#	avidemux/ADM_coreImage/src/ADM_vidField[sA]*.cpp 
   18.11 @@ -52,6 +51,10 @@
   18.12  	cp $src/avidemux_icon.png $DESTDIR/usr/share/pixmaps/avidemux.png
   18.13  	cp $src/avidemux2.desktop $DESTDIR/usr/share/applications
   18.14  	rm -rf $src/built $src/plugins/build
   18.15 +
   18.16 +	mkdir -p $install/usr/share/man/man1
   18.17 +	cp -a $src/man/avidemux.1 $install/usr/share/man/man1
   18.18 +	cook_compress_manpages
   18.19  }
   18.20  
   18.21  # Rules to gen a SliTaz package suitable for Tazpkg.
   18.22 @@ -61,5 +64,4 @@
   18.23  	cp -a $install/usr/bin $fs/usr
   18.24  	cp -a $install/usr/lib $fs/usr
   18.25  	cp -a $install/usr/share/ADM_scripts $fs/usr/share
   18.26 -
   18.27  }
    19.1 --- a/axel/receipt	Mon Jul 04 10:47:24 2016 +0200
    19.2 +++ b/axel/receipt	Mon Jul 04 14:47:05 2016 +0300
    19.3 @@ -15,18 +15,19 @@
    19.4  # Rules to configure and make the package.
    19.5  compile_rules()
    19.6  {
    19.7 -    cd $src
    19.8 -    ./configure --prefix=/usr \
    19.9 -        --i18n=0 \
   19.10 -        $CONFIGURE_ARGS &&
   19.11 -    make &&
   19.12 -    make install DESTDIR=$DESTDIR
   19.13 +	./configure --prefix=/usr \
   19.14 +		--i18n=0 \
   19.15 +		$CONFIGURE_ARGS &&
   19.16 +	make &&
   19.17 +	make install DESTDIR=$DESTDIR
   19.18 +
   19.19 +	cook_compress_manpages
   19.20  }
   19.21  
   19.22  # Rules to gen a SliTaz package suitable for Tazpkg.
   19.23  genpkg_rules()
   19.24  {
   19.25 -   mkdir -p $fs/usr
   19.26 -   cp -a $install/usr/bin $fs/usr
   19.27 -   cp -a $install/etc $fs/
   19.28 +	 mkdir -p $fs/usr
   19.29 +	cp -a $install/usr/bin $fs/usr
   19.30 +	cp -a $install/etc $fs/
   19.31  }
    20.1 --- a/ayttm/receipt	Mon Jul 04 10:47:24 2016 +0200
    20.2 +++ b/ayttm/receipt	Mon Jul 04 14:47:05 2016 +0300
    20.3 @@ -24,6 +24,8 @@
    20.4  	--disable-webcam --disable-esd --disable-arts --disable-webcam \
    20.5  	--enable-lj &&
    20.6  	make && make install
    20.7 +
    20.8 +	cook_compress_manpages
    20.9  }
   20.10  
   20.11  # Rules to gen a SliTaz package suitable for Tazpkg.