# HG changeset patch # User Pascal Bellard # Date 1467815434 -7200 # Node ID a8e75e9bae6ce31f3407bb6cf48a5235d27e7283 # Parent 42380dbaadb7a5ce7d03f7def357effeab5e1af7 sane-backends, scons, scrot, shell-fm, smake, soundtouch, wireless_tools: fix man or doc path diff -r 42380dbaadb7 -r a8e75e9bae6c sane-backends/receipt --- a/sane-backends/receipt Wed Jul 06 15:27:44 2016 +0200 +++ b/sane-backends/receipt Wed Jul 06 16:30:34 2016 +0200 @@ -18,6 +18,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|prefix}/doc|prefix}/share/doc|' configure patch -Np1 -i $stuff/libv4l-0.8.3.patch # fix https://bugs.archlinux.org/task/26114 patch -Np1 -i $stuff/xerox_mfp_fix_usb_devices.patch diff -r 42380dbaadb7 -r a8e75e9bae6c scons/receipt --- a/scons/receipt Wed Jul 06 15:27:44 2016 +0200 +++ b/scons/receipt Wed Jul 06 16:30:34 2016 +0200 @@ -16,10 +16,11 @@ # Rules to configure and make the package. compile_rules() { - mkdir -p $DESTDIR/usr + mkdir -p $DESTDIR/usr/share python setup.py install \ --standard-lib \ --prefix=$DESTDIR/usr + mv $DESTDIR/usr/man $DESTDIR/usr/share } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 42380dbaadb7 -r a8e75e9bae6c scrot/receipt --- a/scrot/receipt Wed Jul 06 15:27:44 2016 +0200 +++ b/scrot/receipt Wed Jul 06 16:30:34 2016 +0200 @@ -17,7 +17,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src + sed -i 's|prefix)/doc|prefix)/share/doc|' * patch -p1 < $stuff/scrot.patch ./configure $CONFIGURE_ARGS && make && diff -r 42380dbaadb7 -r a8e75e9bae6c shell-fm/receipt --- a/shell-fm/receipt Wed Jul 06 15:27:44 2016 +0200 +++ b/shell-fm/receipt Wed Jul 06 16:30:34 2016 +0200 @@ -16,7 +16,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src + sed -i 's|PREFIX)/man|PREFIX)/share/man|' Makefile make && make DESTDIR=$DESTDIR install } diff -r 42380dbaadb7 -r a8e75e9bae6c smake/receipt --- a/smake/receipt Wed Jul 06 15:27:44 2016 +0200 +++ b/smake/receipt Wed Jul 06 16:30:34 2016 +0200 @@ -16,7 +16,7 @@ # Rules to configure and make the package. compile_rules() { - make INS_BASE=/usr DESTDIR=$DESTDIR install + make INS_BASE=/usr MANDIR=share/man DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 42380dbaadb7 -r a8e75e9bae6c soundtouch/receipt --- a/soundtouch/receipt Wed Jul 06 15:27:44 2016 +0200 +++ b/soundtouch/receipt Wed Jul 06 16:30:34 2016 +0200 @@ -16,7 +16,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src + sed -i 's|/doc/|/share&|' Makefile* patch -Np1 -i $stuff/$PACKAGE-1.4.0-mmx-sse-compile-fix.patch ./configure --enable-shared $CONFIGURE_ARGS && make && make install } diff -r 42380dbaadb7 -r a8e75e9bae6c wireless_tools/receipt --- a/wireless_tools/receipt Wed Jul 06 15:27:44 2016 +0200 +++ b/wireless_tools/receipt Wed Jul 06 16:30:34 2016 +0200 @@ -18,6 +18,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|PREFIX)/man|PREFIX)/share/man|' Makefile make CC=${HOST_SYSTEM}-gcc PREFIX=$DESTDIR/usr make PREFIX=$DESTDIR/usr install }