# HG changeset patch # User Pascal Bellard # Date 1467792366 -7200 # Node ID f6af821600e619fb945a8369bbe6a02bc227852e # Parent bbebd07cdfe5e8130a877bc9edcefe6ab94d2356 doxygen, eboard, giblib, gtkhotkey, gtkperf, gvolwheel, haproxy: fix man or doc path diff -r bbebd07cdfe5 -r f6af821600e6 doxygen/receipt --- a/doxygen/receipt Wed Jul 06 10:44:58 2016 +0300 +++ b/doxygen/receipt Wed Jul 06 10:06:06 2016 +0200 @@ -16,7 +16,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src + sed -i 's|man/man1|share/&|' Makefile* ./configure --shared --prefix /usr --docdir /usr/share/doc \ --install /usr/bin/install && make && @@ -29,4 +29,3 @@ mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr } - diff -r bbebd07cdfe5 -r f6af821600e6 eboard/receipt --- a/eboard/receipt Wed Jul 06 10:44:58 2016 +0300 +++ b/eboard/receipt Wed Jul 06 10:06:06 2016 +0200 @@ -18,11 +18,10 @@ # Rules to configure and make the package. compile_rules() { - cd $src sed -i 's/strchr(text/strchr((char *)text/' ntext.cc ./configure \ --prefix=/usr \ - --mandir=/usr/share/man \ + --man-prefix=/usr/share/man \ --extra-libs=dl \ $CONFIGURE_ARGS && make && @@ -37,4 +36,3 @@ cp -a $install/usr/bin $fs/usr cp $src/r18.xpm $fs/usr/share/pixmaps/eboard.xpm } - diff -r bbebd07cdfe5 -r f6af821600e6 giblib/receipt --- a/giblib/receipt Wed Jul 06 10:44:58 2016 +0300 +++ b/giblib/receipt Wed Jul 06 10:06:06 2016 +0200 @@ -22,7 +22,7 @@ # Rules to configure and make the package. compile_rules() { - + sed -i 's|/doc|/share&|' Makefile* ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && diff -r bbebd07cdfe5 -r f6af821600e6 gtkhotkey/receipt --- a/gtkhotkey/receipt Wed Jul 06 10:44:58 2016 +0300 +++ b/gtkhotkey/receipt Wed Jul 06 10:06:06 2016 +0200 @@ -17,6 +17,7 @@ compile_rules() { sed -i 's|||' src/x11/tomboykeybinder.h src/gtk-hotkey-error.h + sed -i 's|}/doc|}/share/doc|' Makefile* ./configure $CONFIGURE_ARGS && make && make install } diff -r bbebd07cdfe5 -r f6af821600e6 gtkperf/receipt --- a/gtkperf/receipt Wed Jul 06 10:44:58 2016 +0300 +++ b/gtkperf/receipt Wed Jul 06 10:06:06 2016 +0200 @@ -16,6 +16,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|/doc|/share&|' Makefile* ./configure $CONFIGURE_ARGS 2>&1 | grep -v /config.rpath && make && make DESTDIR=$DESTDIR install @@ -24,7 +25,7 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr + mkdir -p $fs/usr/share cp -a $install/usr/bin $fs/usr - cp -a $install/usr/share $fs/usr + cp -a $install/usr/share/pixmaps $fs/usr/share } diff -r bbebd07cdfe5 -r f6af821600e6 gvolwheel/receipt --- a/gvolwheel/receipt Wed Jul 06 10:44:58 2016 +0300 +++ b/gvolwheel/receipt Wed Jul 06 10:06:06 2016 +0200 @@ -20,7 +20,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src + sed -i 's|/doc|/share&|' Makefile* ./configure $CONFIGURE_ARGS && make && make install } @@ -28,5 +28,5 @@ genpkg_rules() { cp -a $install/* $fs - rm -rf $fs/usr/doc + rm -rf $fs/usr/share/doc } diff -r bbebd07cdfe5 -r f6af821600e6 haproxy/receipt --- a/haproxy/receipt Wed Jul 06 10:44:58 2016 +0300 +++ b/haproxy/receipt Wed Jul 06 10:06:06 2016 +0200 @@ -16,7 +16,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src + sed -i 's|/doc|/share&|' Makefile* make TARGET=linux26 USE_PCRE=1 PREFIX=/usr DESTDIR=$DESTDIR install }