wok view sleuthkit/receipt @ rev 24081

php-auth-pam: remove patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 09 16:30:40 2021 +0000 (2021-07-09)
parents da134f47b369
children 595388de14c6
line source
1 # SliTaz package receipt.
3 PACKAGE="sleuthkit"
4 VERSION="4.9.0"
5 CATEGORY="misc"
6 SHORT_DESC="File system and media management forensic analysis tools (supports NTFS, FAT, UFS1/2, FFS, Ext2 and Ext3)."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.sleuthkit.org/sleuthkit/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/$PACKAGE-$VERSION/$TARBALL"
14 DEPENDS="gcc83-lib-base perl"
15 BUILD_DEPENDS="gcc83 libpthread-stubs perl sqlite-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/sleuthkit-\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 CC=gcc-83 \
28 CXX=g++-83 \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --mandir=/usr/share/man \
32 --without-libewf \
33 --without-afflib \
34 $CONFIGURE_ARGS &&
35 make LDFLAGS+="-lpthread -ldl" &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 mkdir -p $fs/usr/share
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/usr/share/tsk $fs/usr/share
48 }