wok view sleuthkit/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | 595388de14c6 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="sleuthkit"
4 VERSION="4.11.1"
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="http://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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 CC=gcc-83 \
29 CXX=g++-83 \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 --without-libewf \
34 --without-afflib \
35 $CONFIGURE_ARGS &&
36 make LDFLAGS+="-lpthread -ldl" &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 mkdir -p $fs/usr/share
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 cp -a $install/usr/share/tsk $fs/usr/share
49 }