wok annotate scalpel/receipt @ rev 24955
updated nano and nano-doc (4.8 -> 6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 16:34:46 2022 +0100 (2022-04-23) |
parents | 164fcaca1cd0 |
children | 373233562953 |
rev | line source |
---|---|
pascal@4477 | 1 # SliTaz package receipt. |
pascal@4477 | 2 |
pascal@4477 | 3 PACKAGE="scalpel" |
pascal@4477 | 4 VERSION="1.60" |
pascal@4477 | 5 CATEGORY="system-tools" |
pascal@4477 | 6 SHORT_DESC="Frugal, high performance file carver." |
pascal@4477 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15587 | 8 LICENSE="GPL2" |
pascal@4477 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4477 | 10 WEB_SITE="http://www.digitalforensicssolutions.com/Scalpel" |
pascal@4477 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@4477 | 12 |
pascal@24535 | 13 # What is the latest version available today? |
pascal@24535 | 14 current_version() |
pascal@24535 | 15 { |
pascal@24535 | 16 wget -O - https://raw.githubusercontent.com/sleuthkit/scalpel/master/Changelog 2>/dev/null | \ |
pascal@24535 | 17 sed '/^[0-9]/!d;s|[^0-9\.].*||' | sort -Vr | sed q |
pascal@24535 | 18 } |
pascal@24535 | 19 |
pascal@4477 | 20 # Rules to configure and make the package. |
pascal@4477 | 21 compile_rules() |
pascal@4477 | 22 { |
pascal@4477 | 23 cd $src && make |
pascal@4477 | 24 } |
pascal@4477 | 25 |
pascal@4477 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4477 | 27 genpkg_rules() |
pascal@4477 | 28 { |
pascal@4477 | 29 mkdir -p $fs/usr/bin $fs/etc |
pascal@4477 | 30 cp -a $src/scalpel $fs/usr/bin |
pascal@4477 | 31 cp -a $src/scalpel.conf $fs/etc |
pascal@4477 | 32 } |
pascal@4477 | 33 |