wok rev 19293
o3read, ocaml, optipng, p7zip-full, pmail, python-nose, ratmenu: fix man or doc path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 06 15:27:44 2016 +0200 (2016-07-06) |
parents | 8a74e7b0ff7f |
children | a8e75e9bae6c |
files | netkit-rsh/receipt o3read/receipt ocaml/receipt optipng/receipt p7zip-full/receipt pmail/receipt python-nose/receipt ratmenu/receipt |
line diff
1.1 --- a/netkit-rsh/receipt Wed Jul 06 13:17:14 2016 +0200 1.2 +++ b/netkit-rsh/receipt Wed Jul 06 15:27:44 2016 +0200 1.3 @@ -16,7 +16,7 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - sed -i 's|/man|/share&|' MCONFIG configure 1.8 + sed -i 's|/man|/share&|' configure 1.9 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/sbin \ 1.10 $DESTDIR/usr/share/man/man1 $DESTDIR/usr/share/man/man8 1.11 sed -i 's|.*param.h.*|#include <linux/limits.h>\n&|' \
2.1 --- a/o3read/receipt Wed Jul 06 13:17:14 2016 +0200 2.2 +++ b/o3read/receipt Wed Jul 06 15:27:44 2016 +0200 2.3 @@ -16,7 +16,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|/man/|/share&|' Makefile 2.9 make install PREFIX=$DESTDIR/usr 2.10 } 2.11
3.1 --- a/ocaml/receipt Wed Jul 06 13:17:14 2016 +0200 3.2 +++ b/ocaml/receipt Wed Jul 06 15:27:44 2016 +0200 3.3 @@ -16,7 +16,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)/man|PREFIX)/share/man|' configure 3.9 grep -q true build/camlp4-targets.sh || 3.10 sed -i 's/base=.*/& || true/' build/camlp4-targets.sh 3.11 ./configure --prefix /usr \
4.1 --- a/optipng/receipt Wed Jul 06 13:17:14 2016 +0200 4.2 +++ b/optipng/receipt Wed Jul 06 15:27:44 2016 +0200 4.3 @@ -17,6 +17,7 @@ 4.4 # Rules to configure and make the package. 4.5 compile_rules() 4.6 { 4.7 + sed -i 's|prefix)/man|prefix)/share/man|' configure 4.8 ./configure \ 4.9 -prefix=/usr \ 4.10 -with-system-libpng &&
5.1 --- a/p7zip-full/receipt Wed Jul 06 13:17:14 2016 +0200 5.2 +++ b/p7zip-full/receipt Wed Jul 06 15:27:44 2016 +0200 5.3 @@ -14,7 +14,7 @@ 5.4 # Rules to configure and make the package. 5.5 compile_rules() 5.6 { 5.7 - cd $src 5.8 + sed -i 's|HOME)/man|HOME)/share/man|' makefile 5.9 make all3 5.10 make DEST_HOME=$DESTDIR/usr install 5.11 }
6.1 --- a/pmail/receipt Wed Jul 06 13:17:14 2016 +0200 6.2 +++ b/pmail/receipt Wed Jul 06 15:27:44 2016 +0200 6.3 @@ -13,11 +13,10 @@ 6.4 # Rules to configure and make the package. 6.5 compile_rules() 6.6 { 6.7 - cd $src 6.8 sed -i -e "s|BINDIR = @prefix@/bin|BINDIR = $DESTDIR/usr/bin|" \ 6.9 - -e "s|MANDIR = @prefix@/man/man1|MANDIR = $DESTDIR/usr/man/man1|" \ 6.10 + -e "s|MANDIR = @prefix@/man/man1|MANDIR = $DESTDIR/usr/share/man/man1|" \ 6.11 Makefile.in 6.12 - mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/man/man1 6.13 + mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/man/man1 6.14 ./configure --prefix=/usr --infodir=/usr/share/info \ 6.15 --mandir=/usr/share/man $CONFIGURE_ARGS && 6.16 make -j 1 && 6.17 @@ -30,4 +29,3 @@ 6.18 mkdir -p $fs/usr 6.19 cp -a $install/usr/bin $fs/usr 6.20 } 6.21 -
7.1 --- a/python-nose/receipt Wed Jul 06 13:17:14 2016 +0200 7.2 +++ b/python-nose/receipt Wed Jul 06 15:27:44 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|man/man|share/&|' setup.py 7.8 python setup.py install --root=$DESTDIR 7.9 } 7.10
8.1 --- a/ratmenu/receipt Wed Jul 06 13:17:14 2016 +0200 8.2 +++ b/ratmenu/receipt Wed Jul 06 15:27:44 2016 +0200 8.3 @@ -15,9 +15,8 @@ 8.4 # Rules to configure and make the package. 8.5 compile_rules() 8.6 { 8.7 - cd $src 8.8 make PREFIX=/usr && 8.9 - make PREFIX=$DESTDIR/usr install 8.10 + make PREFIX=$DESTDIR/usr MANDIR=$DESTDIR/usr/share/man install 8.11 } 8.12 8.13 # Rules to gen a SliTaz package suitable for Tazpkg.