wok rev 19284

at, chrpath, cpufrequtils, dev86, genromfs: fix man or doc path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 06 00:15:11 2016 +0200 (2016-07-06)
parents 2d75b7daf345
children 62e8787478ec
files at/receipt chrpath/receipt cpufrequtils/receipt dev86/receipt genromfs/receipt
line diff
     1.1 --- a/at/receipt	Tue Jul 05 22:35:35 2016 +0200
     1.2 +++ b/at/receipt	Wed Jul 06 00:15:11 2016 +0200
     1.3 @@ -15,6 +15,7 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 +	sed -i 's|/doc|/share/doc|' Makefile*
     1.8  	./configure --with-daemon_username=nobody \
     1.9  	--with-daemon_groupname=nogroup \
    1.10  	--with-atspool=/var/spool/atd \
     2.1 --- a/chrpath/receipt	Tue Jul 05 22:35:35 2016 +0200
     2.2 +++ b/chrpath/receipt	Wed Jul 06 00:15:11 2016 +0200
     2.3 @@ -13,7 +13,7 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 -	cd $src
     2.8 +	sed -i 's|/doc|/share/doc|' Makefile*
     2.9  	./configure \
    2.10  		--prefix=/usr \
    2.11  		--infodir=/usr/share/info \
     3.1 --- a/cpufrequtils/receipt	Tue Jul 05 22:35:35 2016 +0200
     3.2 +++ b/cpufrequtils/receipt	Wed Jul 06 00:15:11 2016 +0200
     3.3 @@ -16,8 +16,8 @@
     3.4  # Rules to configure and make the package.
     3.5  compile_rules()
     3.6  {
     3.7 -	cd $src
     3.8 -	make LIBTOOL_OPT="--silent --tag=CC" && make DESTDIR=$DESTDIR install	
     3.9 +	make LIBTOOL_OPT="--silent --tag=CC" &&
    3.10 +	make DESTDIR=$DESTDIR mandir=/usr/share/man install	
    3.11  }
    3.12  
    3.13  # Rules to gen a SliTaz package suitable for Tazpkg.
     4.1 --- a/dev86/receipt	Tue Jul 05 22:35:35 2016 +0200
     4.2 +++ b/dev86/receipt	Wed Jul 06 00:15:11 2016 +0200
     4.3 @@ -16,6 +16,8 @@
     4.4  # Rules to configure and make the package.
     4.5  compile_rules()
     4.6  {
     4.7 +	sed -i 's|/usr/man|/usr/share/man|' man/Makefile
     4.8 +	sed -i 's|REFIX)/man|REFIX)/share/man|' Makefile */Makefile
     4.9  	make -j 1 PREFIX=/usr &&
    4.10  	make -j 1 DIST=$DESTDIR install
    4.11  }
     5.1 --- a/genromfs/receipt	Tue Jul 05 22:35:35 2016 +0200
     5.2 +++ b/genromfs/receipt	Wed Jul 06 00:15:11 2016 +0200
     5.3 @@ -16,6 +16,7 @@
     5.4  # Rules to configure and make the package.
     5.5  compile_rules()
     5.6  {
     5.7 +	sed -i 's|prefix)/man|prefix)/share/man|' Makefile
     5.8  	patch -p0 < $stuff/genromfs.u
     5.9  	make &&
    5.10  	make PREFIX=$DESTDIR install