mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
office/htmldoc: Don't install to build host.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
c596e7407b
commit
d6629017d9
1 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue