wok-6.x annotate sleuthkit/receipt @ rev 25264

updated re2c (1.3 -> 3.0)
author Hans-G?nter Theisgen
date Fri Jul 15 08:59:55 2022 +0100 (2022-07-15)
parents 5ea0ce1cecc0
children
rev   line source
slaxemulator@7269 1 # SliTaz package receipt.
slaxemulator@7269 2
slaxemulator@7269 3 PACKAGE="sleuthkit"
Hans-G?nter@24284 4 VERSION="4.11.1"
slaxemulator@7269 5 CATEGORY="misc"
Hans-G?nter@21914 6 SHORT_DESC="File system and media management forensic analysis tools (supports NTFS, FAT, UFS1/2, FFS, Ext2 and Ext3)."
slaxemulator@7269 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15593 8 LICENSE="GPL2"
Hans-G?nter@24284 9 WEB_SITE="http://www.sleuthkit.org/sleuthkit/"
Hans-G?nter@21914 10
slaxemulator@7269 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21914 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/$PACKAGE-$VERSION/$TARBALL"
slaxemulator@7269 13
Hans-G?nter@23647 14 DEPENDS="gcc83-lib-base perl"
Hans-G?nter@23647 15 BUILD_DEPENDS="gcc83 libpthread-stubs perl sqlite-dev"
slaxemulator@11036 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/sleuthkit-\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
slaxemulator@7269 23 # Rules to configure and make the package.
slaxemulator@7269 24 compile_rules()
slaxemulator@7269 25 {
Hans-G?nter@21914 26 ./configure \
Hans-G?nter@23647 27 CC=gcc-83 \
Hans-G?nter@23647 28 CXX=g++-83 \
Hans-G?nter@21914 29 --prefix=/usr \
Hans-G?nter@21914 30 --infodir=/usr/share/info \
Hans-G?nter@21914 31 --mandir=/usr/share/man \
Hans-G?nter@21914 32 --without-libewf \
Hans-G?nter@21914 33 --without-afflib \
slaxemulator@7269 34 $CONFIGURE_ARGS &&
Hans-G?nter@21914 35 make LDFLAGS+="-lpthread -ldl" &&
Hans-G?nter@21914 36 make DESTDIR=$DESTDIR install
slaxemulator@7269 37 }
slaxemulator@7269 38
slaxemulator@7269 39 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7269 40 genpkg_rules()
slaxemulator@7269 41 {
Hans-G?nter@21914 42 mkdir -p $fs/usr/lib
Hans-G?nter@21914 43 mkdir -p $fs/usr/share
Hans-G?nter@21914 44
Hans-G?nter@21914 45 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21914 46 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@21914 47 cp -a $install/usr/share/tsk $fs/usr/share
slaxemulator@7269 48 }