aboutsummaryrefslogtreecommitdiff
path: root/system/sleuthkit/sleuthkit.SlackBuild
diff options
context:
space:
mode:
authorBarry J. Grundy <bgrundyatlinuxleo.com>2010-05-13 00:41:47 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-13 00:41:47 +0200
commit63b09cb4cf3a4cbf4787fe27d660f9fca508bf93 (patch)
treeeae5f7e2f3bd693f8e864e752bf1f2d3a6d4eab2 /system/sleuthkit/sleuthkit.SlackBuild
parente550883348ce9fa59b969b6997bcd1f5132a1785 (diff)
system/sleuthkit: Updated for version 3.1.0
Diffstat (limited to 'system/sleuthkit/sleuthkit.SlackBuild')
-rw-r--r--system/sleuthkit/sleuthkit.SlackBuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/system/sleuthkit/sleuthkit.SlackBuild b/system/sleuthkit/sleuthkit.SlackBuild
index 4063759981112..0ddaa23f18ea4 100644
--- a/system/sleuthkit/sleuthkit.SlackBuild
+++ b/system/sleuthkit/sleuthkit.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sleuthkit
-VERSION=3.0.1
+VERSION=3.1.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -56,11 +59,12 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
- --build=$ARCH-slackware-linux \
- --host=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
@@ -79,4 +83,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}