wok diff anacron/receipt @ rev 19265

Compress manpages.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 04 10:05:09 2016 +0300 (2016-07-04)
parents 380ffe05937a
children 7672854e4f43
line diff
     1.1 --- a/anacron/receipt	Sat Aug 10 17:00:38 2013 +0000
     1.2 +++ b/anacron/receipt	Mon Jul 04 10:05:09 2016 +0300
     1.3 @@ -16,14 +16,17 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	cd $src
     1.8  	sed -i "s|^PREFIX =.*|PREFIX = $DESTDIR|" Makefile
     1.9  	sed -i 's/const int isleap/int isleap/' gregor.c
    1.10  	make 2>&1 | grep -v Makefile:57 && make install
    1.11 +
    1.12 +	mkdir -p $install/usr/share
    1.13 +	mv $install/usr/man $install/usr/share
    1.14 +	cook_compress_manpages
    1.15  }
    1.16  
    1.17 -# Rules to gen a SliTaz package suitable for Tazpkg.   
    1.18 -genpkg_rules()                                      
    1.19 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.20 +genpkg_rules()
    1.21  {
    1.22  	cp -a $install/* $fs
    1.23  	find $fs/usr/man -type f -exec chmod a-x \{\} \;