wok-next rev 19264
Compress manpages (in $install/usr/share/man/...)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 04 00:54:49 2016 +0300 (2016-07-04) |
parents | 9107a81c9abd |
children | f0a0b5091b4a |
files | 0install/receipt GConf/receipt Geomyidae/receipt R/receipt TiMidity++/receipt Xdialog/receipt a2ps/receipt aalib/receipt abiword/receipt acct/receipt acl/receipt acpid/receipt advancecomp/receipt aescrypt/receipt aespipe/receipt afio/receipt afpfs-ng/receipt aircrack-ng/receipt airoscript-ng/receipt airpwn/receipt airsnort/receipt airstrike/receipt |
line diff
1.1 --- a/0install/receipt Sun Jul 03 19:43:57 2016 +0100 1.2 +++ b/0install/receipt Mon Jul 04 00:54:49 2016 +0300 1.3 @@ -20,6 +20,8 @@ 1.4 python setup.py install --root=$DESTDIR 1.5 # move man pages in a right place 1.6 mv $install/usr/man $install/usr/share 1.7 + 1.8 + cook_compress_manpages 1.9 } 1.10 1.11 # Rules to gen a SliTaz package suitable for Tazpkg.
2.1 --- a/GConf/receipt Sun Jul 03 19:43:57 2016 +0100 2.2 +++ b/GConf/receipt Mon Jul 04 00:54:49 2016 +0300 2.3 @@ -26,6 +26,8 @@ 2.4 --libexecdir=/usr/lib/GConf \ 2.5 $CONFIGURE_ARGS && 2.6 make && make install 2.7 + 2.8 + cook_compress_manpages 2.9 } 2.10 2.11 # Rules to gen a SliTaz package suitable for Tazpkg.
3.1 --- a/Geomyidae/receipt Sun Jul 03 19:43:57 2016 +0100 3.2 +++ b/Geomyidae/receipt Mon Jul 04 00:54:49 2016 +0300 3.3 @@ -18,6 +18,8 @@ 3.4 sed -i 's|/man/|/share&|' $src/Makefile 3.5 3.6 make && make DESTDIR=$DESTDIR 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/R/receipt Sun Jul 03 19:43:57 2016 +0100 4.2 +++ b/R/receipt Mon Jul 04 00:54:49 2016 +0300 4.3 @@ -28,6 +28,8 @@ 4.4 --with-system-pcre \ 4.5 $CONFIGURE_ARGS && 4.6 make && make DESTDIR=$install install 4.7 + 4.8 + cook_compress_manpages 4.9 } 4.10 4.11 # Rules to gen a SliTaz package suitable for Tazpkg.
5.1 --- a/TiMidity++/receipt Sun Jul 03 19:43:57 2016 +0100 5.2 +++ b/TiMidity++/receipt Mon Jul 04 00:54:49 2016 +0300 5.3 @@ -17,17 +17,18 @@ 5.4 # Rules to configure and make the package. 5.5 compile_rules() 5.6 { 5.7 - cd $src 5.8 ./configure --prefix=/usr \ 5.9 --enable-audio=alsa,portaudio,jack,ao,vorbis,flac \ 5.10 --enable-interface=gtk,xaw \ 5.11 - --enable-alsaseq 5.12 + --enable-alsaseq 5.13 make && 5.14 make DESTDIR=$DESTDIR install 5.15 + 5.16 + cook_compress_manpages 5.17 } 5.18 5.19 -# Rules to gen a SliTaz package suitable for Tazpkg. 5.20 -genpkg_rules() 5.21 +# Rules to gen a SliTaz package suitable for Tazpkg. 5.22 +genpkg_rules() 5.23 { 5.24 mkdir -p $fs/usr 5.25 cp -a $install/usr/bin $fs/usr 5.26 @@ -44,4 +45,3 @@ 5.27 { 5.28 rm -rf "$1/usr/share/timidity" 5.29 } 5.30 -
6.1 --- a/Xdialog/receipt Sun Jul 03 19:43:57 2016 +0100 6.2 +++ b/Xdialog/receipt Mon Jul 04 00:54:49 2016 +0300 6.3 @@ -19,7 +19,6 @@ 6.4 # Rules to configure and make the package. 6.5 compile_rules() 6.6 { 6.7 - cd $src 6.8 autoconf && 6.9 ./configure \ 6.10 --with-gtk2 \ 6.11 @@ -30,6 +29,8 @@ 6.12 $CONFIGURE_ARGS && 6.13 make && 6.14 make DESTDIR=$DESTDIR install 6.15 + 6.16 + cook_compress_manpages 6.17 } 6.18 6.19 # Rules to gen a SliTaz package suitable for Tazpkg.
7.1 --- a/a2ps/receipt Sun Jul 03 19:43:57 2016 +0100 7.2 +++ b/a2ps/receipt Mon Jul 04 00:54:49 2016 +0300 7.3 @@ -16,12 +16,13 @@ 7.4 # Rules to configure and make the package. 7.5 compile_rules() 7.6 { 7.7 - cd $src 7.8 # Be busybox sort compatible 7.9 sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh 7.10 ./configure --sysconfdir=/etc $CONFIGURE_ARGS && 7.11 make 2>&1 | grep -v fonts.map.new && 7.12 make install 7.13 + 7.14 + cook_compress_manpages 7.15 } 7.16 7.17 # Rules to gen a SliTaz package suitable for Tazpkg.
8.1 --- a/aalib/receipt Sun Jul 03 19:43:57 2016 +0100 8.2 +++ b/aalib/receipt Mon Jul 04 00:54:49 2016 +0300 8.3 @@ -17,10 +17,12 @@ 8.4 # Rules to configure and make the package. 8.5 compile_rules() 8.6 { 8.7 - cd $src 8.8 patch -Np0 -i $stuff/aclocal-fixes.patch 8.9 - ./configure $CONFIGURE_ARGS && 8.10 + 8.11 + ./configure $CONFIGURE_ARGS && 8.12 make && make DESTDIR=$DESTDIR install 8.13 + 8.14 + cook_compress_manpages 8.15 } 8.16 8.17 # Rules to gen a SliTaz package suitable for Tazpkg.
9.1 --- a/abiword/receipt Sun Jul 03 19:43:57 2016 +0100 9.2 +++ b/abiword/receipt Mon Jul 04 00:54:49 2016 +0300 9.3 @@ -24,7 +24,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|glib/gmacros.h|glib.h|' goffice-bits/goffice/app/goffice-app.h 9.9 sed -i 's|glib/gerror.h|glib.h|' src/af/util/xp/ut_go_file.h 9.10 sed -i 's|--no-undefined||' src/Makefile* 9.11 @@ -43,6 +42,8 @@ 9.12 9.13 cd plugins 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/acct/receipt Sun Jul 03 19:43:57 2016 +0100 10.2 +++ b/acct/receipt Mon Jul 04 00:54:49 2016 +0300 10.3 @@ -20,21 +20,24 @@ 10.4 # Rules to configure and make the package. 10.5 compile_rules() 10.6 { 10.7 - ./configure --prefix=/usr \ 10.8 - $CONFIGURE_ARGS && 10.9 - make $MAKEFLAGS && 10.10 - make DESTDIR=$DESTDIR install 10.11 + ./configure \ 10.12 + --prefix=/usr \ 10.13 + $CONFIGURE_ARGS && 10.14 + make $MAKEFLAGS && 10.15 + make DESTDIR=$DESTDIR install 10.16 + 10.17 + cook_compress_manpages 10.18 } 10.19 10.20 # Rules to gen a SliTaz package suitable for Tazpkg. 10.21 genpkg_rules() 10.22 { 10.23 - mkdir -p $fs/usr/bin 10.24 - cp -a $install/usr/bin/* $fs/usr/bin 10.25 + mkdir -p $fs/usr/bin 10.26 + cp -a $install/usr/bin/* $fs/usr/bin 10.27 10.28 - mkdir -p $fs/usr/sbin 10.29 - cp -a $install/usr/sbin/* $fs/usr/sbin 10.30 + mkdir -p $fs/usr/sbin 10.31 + cp -a $install/usr/sbin/* $fs/usr/sbin 10.32 10.33 - mkdir -p $fs/usr/share 10.34 - cp -a $install/usr/share/* $fs/usr/share 10.35 + mkdir -p $fs/usr/share 10.36 + cp -a $install/usr/share/* $fs/usr/share 10.37 }
11.1 --- a/acl/receipt Sun Jul 03 19:43:57 2016 +0100 11.2 +++ b/acl/receipt Mon Jul 04 00:54:49 2016 +0300 11.3 @@ -45,6 +45,8 @@ 11.4 # .so and .la files must be executable 11.5 find $install -type f -name '*.[sl][oa]*' -exec chmod a+x \{\} \; 11.6 sed -i "s|libdir='/lib'|libdir='/usr/lib'|" $install/usr/lib/libacl.la 11.7 + 11.8 + cook_compress_manpages 11.9 } 11.10 11.11 # Rules to gen a SliTaz package suitable for Tazpkg.
12.1 --- a/acpid/receipt Sun Jul 03 19:43:57 2016 +0100 12.2 +++ b/acpid/receipt Mon Jul 04 00:54:49 2016 +0300 12.3 @@ -16,11 +16,11 @@ 12.4 # Rules to configure and make the package. 12.5 compile_rules() 12.6 { 12.7 - # Build 12.8 - cd $src 12.9 ./configure --prefix=/usr $CONFIGURE_ARGS && 12.10 make && 12.11 make DESTDIR=$DESTDIR install 12.12 + 12.13 + cook_compress_manpages 12.14 } 12.15 12.16 # Rules to gen a SliTaz package suitable for Tazpkg.
13.1 --- a/advancecomp/receipt Sun Jul 03 19:43:57 2016 +0100 13.2 +++ b/advancecomp/receipt Mon Jul 04 00:54:49 2016 +0300 13.3 @@ -22,6 +22,8 @@ 13.4 $CONFIGURE_ARGS && 13.5 make && 13.6 make DESTDIR=$DESTDIR install 13.7 + 13.8 + cook_compress_manpages 13.9 } 13.10 13.11 # Rules to gen a SliTaz package suitable for Tazpkg.
14.1 --- a/aescrypt/receipt Sun Jul 03 19:43:57 2016 +0100 14.2 +++ b/aescrypt/receipt Mon Jul 04 00:54:49 2016 +0300 14.3 @@ -16,6 +16,10 @@ 14.4 { 14.5 cd $src/src 14.6 make 14.7 + 14.8 + mkdir -p $install/usr/share/man/man1 14.9 + cp -a $src/man/aescrypt.1 $install/usr/share/man/man1 14.10 + cook_compress_manpages 14.11 } 14.12 14.13 # Rules to gen a SliTaz package suitable for Tazpkg. 14.14 @@ -25,4 +29,3 @@ 14.15 cp -a $src/src/aescrypt $fs/usr/bin 14.16 cp -a $src/src/aescrypt_keygen $fs/usr/bin 14.17 } 14.18 -
15.1 --- a/aespipe/receipt Sun Jul 03 19:43:57 2016 +0100 15.2 +++ b/aespipe/receipt Mon Jul 04 00:54:49 2016 +0300 15.3 @@ -17,6 +17,8 @@ 15.4 $CONFIGURE_ARGS && 15.5 make && 15.6 make DESTDIR=$DESTDIR install 15.7 + 15.8 + cook_compress_manpages 15.9 } 15.10 15.11 # Rules to gen a SliTaz package suitable for Tazpkg.
16.1 --- a/afio/receipt Sun Jul 03 19:43:57 2016 +0100 16.2 +++ b/afio/receipt Mon Jul 04 00:54:49 2016 +0300 16.3 @@ -17,6 +17,10 @@ 16.4 compile_rules() 16.5 { 16.6 make 16.7 + 16.8 + mkdir -p $install/usr/share/man/man1 16.9 + cp -a $src/afio.1 $install/usr/share/man/man1 16.10 + cook_compress_manpages 16.11 } 16.12 16.13 # Rules to gen a SliTaz package suitable for Tazpkg.
17.1 --- a/afpfs-ng/receipt Sun Jul 03 19:43:57 2016 +0100 17.2 +++ b/afpfs-ng/receipt Mon Jul 04 00:54:49 2016 +0300 17.3 @@ -16,9 +16,10 @@ 17.4 # Rules to configure and make the package. 17.5 compile_rules() 17.6 { 17.7 - cd $src 17.8 ./configure $CONFIGURE_ARGS && 17.9 make && make install 17.10 + 17.11 + cook_compress_manpages 17.12 } 17.13 17.14 # Rules to gen a SliTaz package suitable for Tazpkg.
18.1 --- a/aircrack-ng/receipt Sun Jul 03 19:43:57 2016 +0100 18.2 +++ b/aircrack-ng/receipt Mon Jul 04 00:54:49 2016 +0300 18.3 @@ -16,16 +16,17 @@ 18.4 # Rules to configure and make the package. 18.5 compile_rules() 18.6 { 18.7 - cd $src 18.8 sed -i s#/usr/local#/usr#g common.mak || return 1 18.9 sed -i s#/man/man1#/share/man/man1# common.mak || return 1 18.10 - 18.11 + 18.12 # fix build with gcc45 18.13 sed -i s/-Werror// common.mak || return 1 18.14 - 18.15 + 18.16 make SQLITE=true unstable=true && 18.17 make SQLITE=true unstable=true DESTDIR=$DESTDIR install 18.18 sed -i 's|/usr/local||g' $DESTDIR/usr/sbin/airodump-ng-oui-update 18.19 + 18.20 + cook_compress_manpages 18.21 } 18.22 18.23 # Rules to gen a SliTaz package suitable for Tazpkg.
19.1 --- a/airoscript-ng/receipt Sun Jul 03 19:43:57 2016 +0100 19.2 +++ b/airoscript-ng/receipt Mon Jul 04 00:54:49 2016 +0300 19.3 @@ -15,7 +15,6 @@ 19.4 # Rules to configure and make the package. 19.5 compile_rules() 19.6 { 19.7 - cd $src 19.8 # Remove broken install parts 19.9 sed -i '/install-docs \\/ d' Makefile-Linux 19.10 sed -i '/install-locale \\/ d' Makefile-Linux 19.11 @@ -30,6 +29,9 @@ 19.12 19.13 # Patch executable to find config files 19.14 sed -i 's/etc\//etc\/airoscript-ng\//g' $DESTDIR/usr/sbin/$PACKAGE 19.15 + 19.16 + cp -a $src/src/airoscript-ng.1 $install/usr/share/man/man1 19.17 + cook_compress_manpages 19.18 } 19.19 19.20 # Rules to gen a SliTaz package suitable for Tazpkg. 19.21 @@ -40,4 +42,3 @@ 19.22 cp -a $install/usr/share/airoscript-ng $fs/usr/share 19.23 cp -a $install/etc $fs 19.24 } 19.25 -
20.1 --- a/airpwn/receipt Sun Jul 03 19:43:57 2016 +0100 20.2 +++ b/airpwn/receipt Mon Jul 04 00:54:49 2016 +0300 20.3 @@ -17,7 +17,6 @@ 20.4 # Rules to configure and make the package. 20.5 compile_rules() 20.6 { 20.7 - cd $src 20.8 # Patch configure to link libcrypto 20.9 patch -Np1 -i $stuff/link-libcrypto.patch 20.10 20.11 @@ -37,6 +36,8 @@ 20.12 --mandir=/usr/share/man \ 20.13 $CONFIGURE_ARGS && 20.14 make && make DESTDIR=$DESTDIR install 20.15 + 20.16 + cook_compress_manpages 20.17 } 20.18 20.19 # Rules to gen a SliTaz package suitable for Tazpkg.
21.1 --- a/airsnort/receipt Sun Jul 03 19:43:57 2016 +0100 21.2 +++ b/airsnort/receipt Mon Jul 04 00:54:49 2016 +0300 21.3 @@ -16,13 +16,14 @@ 21.4 # Rules to configure and make the package. 21.5 compile_rules() 21.6 { 21.7 - cd $src 21.8 ./configure \ 21.9 --prefix=/usr \ 21.10 --infodir=/usr/share/info \ 21.11 --mandir=/usr/share/man \ 21.12 $CONFIGURE_ARGS && 21.13 make && make DESTDIR=$DESTDIR install 21.14 + 21.15 + cook_compress_manpages 21.16 } 21.17 21.18 # Rules to gen a SliTaz package suitable for Tazpkg.
22.1 --- a/airstrike/receipt Sun Jul 03 19:43:57 2016 +0100 22.2 +++ b/airstrike/receipt Mon Jul 04 00:54:49 2016 +0300 22.3 @@ -18,11 +18,14 @@ 22.4 # Rules to configure and make the package. 22.5 compile_rules() 22.6 { 22.7 - cd $src 22.8 sed -i 's/-lSDL_image/& -lm/' src/Makefile 22.9 sed -i 's|"airstrikerc"|"/usr/share/airstrike/airstrikerc"|' src/config.h 22.10 sed -i 's|"data/|"/usr/share/airstrike/data/|g' src/airstrike.c 22.11 make 22.12 + 22.13 + mkdir -p $install/usr/share/man/man6 22.14 + cp -a $src/doc/airstrike.6 $install/usr/share/man/man6 22.15 + cook_compress_manpages 22.16 } 22.17 22.18 # Rules to gen a SliTaz package suitable for Tazpkg.