From d6629017d954185b4351cd983eed8fa31044240a Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sun, 24 Jan 2016 19:09:06 +0000 Subject: office/htmldoc: Don't install to build host. Signed-off-by: David Spencer --- office/htmldoc/htmldoc.SlackBuild | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'office/htmldoc/htmldoc.SlackBuild') diff --git a/office/htmldoc/htmldoc.SlackBuild b/office/htmldoc/htmldoc.SlackBuild index 6ff64f3fb7..8e6fe78099 100644 --- a/office/htmldoc/htmldoc.SlackBuild +++ b/office/htmldoc/htmldoc.SlackBuild @@ -88,8 +88,8 @@ sed -r -i 's|CUPS_RAND|rand|g' htmldoc/http.c CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ + --prefix=$PKG/usr \ + --libdir=$PKG/usr/lib${LIBDIRSUFFIX} \ --enable-ssl \ --with-gui \ --disable-localjpeg \ @@ -102,11 +102,9 @@ CXXFLAGS="$SLKCFLAGS" \ sed -r -i 's|\$(datadir)/doc/htmldoc|\$(prefix)/doc/htmldoc-$VERSION|g' \ doc/Makefile +# 'make all' also does install (DESTDIR not supported) make all -# DESTDIR= is not supported -make prefix=$PKG/usr install - # Copy some files who are not automatically installed (main binary, .desktop, icons, etc..) mkdir -p $PKG/usr/bin install -m 755 htmldoc/$PRGNAM $PKG/usr/bin -- cgit v1.2.3