wok-6.x rev 19294

sane-backends, scons, scrot, shell-fm, smake, soundtouch, wireless_tools: fix man or doc path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 06 16:30:34 2016 +0200 (2016-07-06)
parents 42380dbaadb7
children f86d053a0423
files sane-backends/receipt scons/receipt scrot/receipt shell-fm/receipt smake/receipt soundtouch/receipt wireless_tools/receipt
line diff
     1.1 --- a/sane-backends/receipt	Wed Jul 06 15:27:44 2016 +0200
     1.2 +++ b/sane-backends/receipt	Wed Jul 06 16:30:34 2016 +0200
     1.3 @@ -18,6 +18,7 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 +	sed -i 's|prefix}/doc|prefix}/share/doc|' configure
     1.8  	patch -Np1 -i $stuff/libv4l-0.8.3.patch
     1.9  	# fix https://bugs.archlinux.org/task/26114
    1.10  	patch -Np1 -i $stuff/xerox_mfp_fix_usb_devices.patch
     2.1 --- a/scons/receipt	Wed Jul 06 15:27:44 2016 +0200
     2.2 +++ b/scons/receipt	Wed Jul 06 16:30:34 2016 +0200
     2.3 @@ -16,10 +16,11 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 -	mkdir -p $DESTDIR/usr
     2.8 +	mkdir -p $DESTDIR/usr/share
     2.9  	python setup.py install \
    2.10  		--standard-lib \
    2.11  		--prefix=$DESTDIR/usr
    2.12 +	mv $DESTDIR/usr/man $DESTDIR/usr/share
    2.13  }
    2.14  
    2.15  # Rules to gen a SliTaz package suitable for Tazpkg.
     3.1 --- a/scrot/receipt	Wed Jul 06 15:27:44 2016 +0200
     3.2 +++ b/scrot/receipt	Wed Jul 06 16:30:34 2016 +0200
     3.3 @@ -17,7 +17,7 @@
     3.4  # Rules to configure and make the package.
     3.5  compile_rules()
     3.6  {
     3.7 -	cd $src
     3.8 +	sed -i 's|prefix)/doc|prefix)/share/doc|' *
     3.9  	patch -p1 < $stuff/scrot.patch
    3.10  	./configure $CONFIGURE_ARGS &&
    3.11  	make &&
     4.1 --- a/shell-fm/receipt	Wed Jul 06 15:27:44 2016 +0200
     4.2 +++ b/shell-fm/receipt	Wed Jul 06 16:30:34 2016 +0200
     4.3 @@ -16,7 +16,7 @@
     4.4  # Rules to configure and make the package.
     4.5  compile_rules()
     4.6  {
     4.7 -	cd $src
     4.8 +	sed -i 's|PREFIX)/man|PREFIX)/share/man|' Makefile
     4.9  	make &&
    4.10  	make DESTDIR=$DESTDIR install
    4.11  }
     5.1 --- a/smake/receipt	Wed Jul 06 15:27:44 2016 +0200
     5.2 +++ b/smake/receipt	Wed Jul 06 16:30:34 2016 +0200
     5.3 @@ -16,7 +16,7 @@
     5.4  # Rules to configure and make the package.
     5.5  compile_rules()
     5.6  {
     5.7 -	make INS_BASE=/usr DESTDIR=$DESTDIR install
     5.8 +	make INS_BASE=/usr MANDIR=share/man DESTDIR=$DESTDIR install
     5.9  }
    5.10  
    5.11  # Rules to gen a SliTaz package suitable for Tazpkg.
     6.1 --- a/soundtouch/receipt	Wed Jul 06 15:27:44 2016 +0200
     6.2 +++ b/soundtouch/receipt	Wed Jul 06 16:30:34 2016 +0200
     6.3 @@ -16,7 +16,7 @@
     6.4  # Rules to configure and make the package.
     6.5  compile_rules()
     6.6  {
     6.7 -	cd $src
     6.8 +	sed -i 's|/doc/|/share&|' Makefile*
     6.9  	patch -Np1 -i $stuff/$PACKAGE-1.4.0-mmx-sse-compile-fix.patch
    6.10  	./configure --enable-shared $CONFIGURE_ARGS && make && make install
    6.11  }
     7.1 --- a/wireless_tools/receipt	Wed Jul 06 15:27:44 2016 +0200
     7.2 +++ b/wireless_tools/receipt	Wed Jul 06 16:30:34 2016 +0200
     7.3 @@ -18,6 +18,7 @@
     7.4  # Rules to configure and make the package.
     7.5  compile_rules()
     7.6  {
     7.7 +	sed -i 's|PREFIX)/man|PREFIX)/share/man|' Makefile
     7.8  	make CC=${HOST_SYSTEM}-gcc PREFIX=$DESTDIR/usr
     7.9  	make PREFIX=$DESTDIR/usr install
    7.10  }