office/htmldoc: Don't install to build host.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2016-01-24 19:09:06 +00:00 committed by Willy Sudiarto Raharjo
parent c596e7407b
commit d6629017d9
1 changed files with 3 additions and 5 deletions

View File

@ -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