SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "sleuthkit"

# SliTaz package receipt.

PACKAGE="sleuthkit"
VERSION="4.11.1"
CATEGORY="misc"
SHORT_DESC="File system and media management forensic analysis tools (supports NTFS, FAT, UFS1/2, FFS, Ext2 and Ext3)."
MAINTAINER="slaxemulator@gmail.com"
LICENSE="GPL2"
WEB_SITE="http://www.sleuthkit.org/sleuthkit/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/$PACKAGE-$VERSION/$TARBALL"

DEPENDS="gcc83-lib-base perl"
BUILD_DEPENDS="gcc83 libpthread-stubs perl sqlite-dev"

current_version()
{
    wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/sleuthkit-\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure                \
        CC=gcc-83            \
        CXX=g++-83            \
        --prefix=/usr            \
        --infodir=/usr/share/info    \
        --mandir=/usr/share/man        \
        --without-libewf        \
        --without-afflib        \
        $CONFIGURE_ARGS &&
    make LDFLAGS+="-lpthread -ldl" &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    mkdir -p $fs/usr/share

    cp -a $install/usr/bin        $fs/usr
    cp -a $install/usr/lib/*.so*    $fs/usr/lib
    cp -a $install/usr/share/tsk    $fs/usr/share
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)