wok-6.x rev 19290
doxygen, eboard, giblib, gtkhotkey, gtkperf, gvolwheel, haproxy: fix man or doc path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 06 10:06:06 2016 +0200 (2016-07-06) |
parents | bbebd07cdfe5 |
children | e8c84b81fa04 |
files | doxygen/receipt eboard/receipt giblib/receipt gtkhotkey/receipt gtkperf/receipt gvolwheel/receipt haproxy/receipt |
line diff
1.1 --- a/doxygen/receipt Wed Jul 06 10:44:58 2016 +0300 1.2 +++ b/doxygen/receipt Wed Jul 06 10:06:06 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 - cd $src 1.8 + sed -i 's|man/man1|share/&|' Makefile* 1.9 ./configure --shared --prefix /usr --docdir /usr/share/doc \ 1.10 --install /usr/bin/install && 1.11 make && 1.12 @@ -29,4 +29,3 @@ 1.13 mkdir -p $fs/usr 1.14 cp -a $install/usr/bin $fs/usr 1.15 } 1.16 -
2.1 --- a/eboard/receipt Wed Jul 06 10:44:58 2016 +0300 2.2 +++ b/eboard/receipt Wed Jul 06 10:06:06 2016 +0200 2.3 @@ -18,11 +18,10 @@ 2.4 # Rules to configure and make the package. 2.5 compile_rules() 2.6 { 2.7 - cd $src 2.8 sed -i 's/strchr(text/strchr((char *)text/' ntext.cc 2.9 ./configure \ 2.10 --prefix=/usr \ 2.11 - --mandir=/usr/share/man \ 2.12 + --man-prefix=/usr/share/man \ 2.13 --extra-libs=dl \ 2.14 $CONFIGURE_ARGS && 2.15 make && 2.16 @@ -37,4 +36,3 @@ 2.17 cp -a $install/usr/bin $fs/usr 2.18 cp $src/r18.xpm $fs/usr/share/pixmaps/eboard.xpm 2.19 } 2.20 -
3.1 --- a/giblib/receipt Wed Jul 06 10:44:58 2016 +0300 3.2 +++ b/giblib/receipt Wed Jul 06 10:06:06 2016 +0200 3.3 @@ -22,7 +22,7 @@ 3.4 # Rules to configure and make the package. 3.5 compile_rules() 3.6 { 3.7 - 3.8 + sed -i 's|/doc|/share&|' Makefile* 3.9 ./configure \ 3.10 --prefix=/usr \ 3.11 $CONFIGURE_ARGS &&
4.1 --- a/gtkhotkey/receipt Wed Jul 06 10:44:58 2016 +0300 4.2 +++ b/gtkhotkey/receipt Wed Jul 06 10:06:06 2016 +0200 4.3 @@ -17,6 +17,7 @@ 4.4 compile_rules() 4.5 { 4.6 sed -i 's|<glib/.*h>|<glib.h>|' src/x11/tomboykeybinder.h src/gtk-hotkey-error.h 4.7 + sed -i 's|}/doc|}/share/doc|' Makefile* 4.8 ./configure $CONFIGURE_ARGS && 4.9 make && make install 4.10 }
5.1 --- a/gtkperf/receipt Wed Jul 06 10:44:58 2016 +0300 5.2 +++ b/gtkperf/receipt Wed Jul 06 10:06:06 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|/doc|/share&|' Makefile* 5.8 ./configure $CONFIGURE_ARGS 2>&1 | grep -v /config.rpath && 5.9 make && 5.10 make DESTDIR=$DESTDIR install 5.11 @@ -24,7 +25,7 @@ 5.12 # Rules to gen a SliTaz package suitable for Tazpkg. 5.13 genpkg_rules() 5.14 { 5.15 - mkdir -p $fs/usr 5.16 + mkdir -p $fs/usr/share 5.17 cp -a $install/usr/bin $fs/usr 5.18 - cp -a $install/usr/share $fs/usr 5.19 + cp -a $install/usr/share/pixmaps $fs/usr/share 5.20 }
6.1 --- a/gvolwheel/receipt Wed Jul 06 10:44:58 2016 +0300 6.2 +++ b/gvolwheel/receipt Wed Jul 06 10:06:06 2016 +0200 6.3 @@ -20,7 +20,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 ./configure $CONFIGURE_ARGS && make && make install 6.10 } 6.11 6.12 @@ -28,5 +28,5 @@ 6.13 genpkg_rules() 6.14 { 6.15 cp -a $install/* $fs 6.16 - rm -rf $fs/usr/doc 6.17 + rm -rf $fs/usr/share/doc 6.18 }
7.1 --- a/haproxy/receipt Wed Jul 06 10:44:58 2016 +0300 7.2 +++ b/haproxy/receipt Wed Jul 06 10:06:06 2016 +0200 7.3 @@ -16,7 +16,7 @@ 7.4 # Rules to configure and make the package. 7.5 compile_rules() 7.6 { 7.7 - cd $src 7.8 + sed -i 's|/doc|/share&|' Makefile* 7.9 make TARGET=linux26 USE_PCRE=1 PREFIX=/usr DESTDIR=$DESTDIR install 7.10 } 7.11