wok-current rev 19292
mingw32-runtime, ms-sys, netkit-rsh, nqc, nvclock: fix man or doc path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 06 13:17:14 2016 +0200 (2016-07-06) |
parents | e8c84b81fa04 |
children | 42380dbaadb7 |
files | mingw32-runtime/receipt ms-sys/receipt netkit-rsh/receipt nqc/receipt nvclock/receipt |
line diff
1.1 --- a/mingw32-runtime/receipt Wed Jul 06 12:08:46 2016 +0200 1.2 +++ b/mingw32-runtime/receipt Wed Jul 06 13:17:14 2016 +0200 1.3 @@ -23,6 +23,7 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 + sed -i 's|/doc/|/share&|' configure */configure Makefile.in 1.8 if [ "$MINGW32_ID" != "$MINGW32_TARGET" ] ; then 1.9 echo "ERROR: Conf 'TARGET' string differs from Receipt 'ID' string" 1.10 return 1
2.1 --- a/ms-sys/receipt Wed Jul 06 12:08:46 2016 +0200 2.2 +++ b/ms-sys/receipt Wed Jul 06 13:17:14 2016 +0200 2.3 @@ -16,6 +16,7 @@ 2.4 # Rules to configure and make the package. 2.5 compile_rules() 2.6 { 2.7 + sed -i 's|PREFIX)/man|PREFIX)/share/man|' Makefile 2.8 make PREFIX=/usr DESTDIR=$DESTDIR install 2.9 } 2.10
3.1 --- a/netkit-rsh/receipt Wed Jul 06 12:08:46 2016 +0200 3.2 +++ b/netkit-rsh/receipt Wed Jul 06 13:17:14 2016 +0200 3.3 @@ -16,9 +16,9 @@ 3.4 # Rules to configure and make the package. 3.5 compile_rules() 3.6 { 3.7 - cd $src 3.8 + sed -i 's|/man|/share&|' MCONFIG configure 3.9 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/sbin \ 3.10 - $DESTDIR/usr/man/man1 $DESTDIR/usr/man/man8 3.11 + $DESTDIR/usr/share/man/man1 $DESTDIR/usr/share/man/man8 3.12 sed -i 's|.*param.h.*|#include <linux/limits.h>\n&|' \ 3.13 rexecd/rexecd.c rshd/rshd.c 3.14 sed -i 's|.*rlogind.*|#include <stdio.h>\n&|' rlogind/rlogind.h
4.1 --- a/nqc/receipt Wed Jul 06 12:08:46 2016 +0200 4.2 +++ b/nqc/receipt Wed Jul 06 13:17:14 2016 +0200 4.3 @@ -18,13 +18,12 @@ 4.4 # Rules to configure and make the package. 4.5 compile_rules() 4.6 { 4.7 - cd $src 4.8 [ -s $TARBALL ] && tar xjf $TARBALL -C .. 4.9 make -j1 TOOLPREFIX="$TOOLPREFIX" \ 4.10 DEFAULT_SERIAL_NAME='"/dev/ttyS0"' \ 4.11 DEFAULT_USB_NAME='"/dev/usb/legousbtower0"' \ 4.12 DEFAULT_PORT_NAME='"usb"' && 4.13 - make PREFIX=/usr install 4.14 + make PREFIX=/usr MANDIR=/usr/share/man/man1 install 4.15 } 4.16 4.17 # Rules to gen a SliTaz package suitable for Tazpkg.
5.1 --- a/nvclock/receipt Wed Jul 06 12:08:46 2016 +0200 5.2 +++ b/nvclock/receipt Wed Jul 06 13:17:14 2016 +0200 5.3 @@ -17,6 +17,7 @@ 5.4 compile_rules(){ 5.5 [ -d $PACKAGE$VERSION ] && mv $PACKAGE$VERSION $PACKAGE-$VERSION 5.6 cd $src 5.7 + sed -i 's|prefix}/man|prefix}/share/man|' Makefile* 5.8 5.9 autoreconf 5.10