wok diff airoscript-ng/receipt @ 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 f4c22f009037
children 11b5e93cb5f2
line diff
     1.1 --- a/airoscript-ng/receipt	Sat Sep 07 18:25:02 2013 +0000
     1.2 +++ b/airoscript-ng/receipt	Mon Jul 04 00:54:49 2016 +0300
     1.3 @@ -15,7 +15,6 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	cd $src
     1.8  	# Remove broken install parts
     1.9  	sed -i '/install-docs \\/ d' Makefile-Linux
    1.10  	sed -i '/install-locale \\/ d' Makefile-Linux
    1.11 @@ -30,6 +29,9 @@
    1.12  
    1.13  	# Patch executable to find config files
    1.14  	sed -i 's/etc\//etc\/airoscript-ng\//g' $DESTDIR/usr/sbin/$PACKAGE
    1.15 +
    1.16 +	cp -a $src/src/airoscript-ng.1 $install/usr/share/man/man1
    1.17 +	cook_compress_manpages
    1.18  }
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21 @@ -40,4 +42,3 @@
    1.22  	cp -a $install/usr/share/airoscript-ng $fs/usr/share
    1.23  	cp -a $install/etc $fs
    1.24  }
    1.25 -