mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
system/sleuthkit: Disable Java support by default.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
b65d4ceaa5
commit
f84a4648ae
2 changed files with 12 additions and 3 deletions
|
@ -16,3 +16,10 @@ various disk image formats:
|
|||
Note: If you are building TSK for use with Plaso or the DFVFS, it is
|
||||
strongly recommended that you build libewf, libvhdi and libvmdk
|
||||
support into TSK by installing those libraries first.
|
||||
|
||||
Note: by default, Java support is disabled in this build. If you
|
||||
require Java support, install a JDK (jdk, openjdk8, etc), source its
|
||||
profile script, and run sleuthkit.SlackBuild with JAVA=yes in the
|
||||
environment. Be warned that the Java build process downloads many
|
||||
files, therefore it requires network access (something SlackBuild
|
||||
scripts normally don't do).
|
||||
|
|
|
@ -86,6 +86,9 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
JAVAOPT="--disable-java"
|
||||
[ "${JAVA:-no}" = "yes" ] && JAVAOPT="--enable-java"
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
@ -95,13 +98,12 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
$JAVAOPT \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make install-strip DESTDIR=$PKG
|
||||
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
gzip -9 $PKG/usr/man/man*/*
|
||||
|
||||
# "docs" directory now contains a simple pointer to the wiki.
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
|
Loading…
Reference in a new issue