wok-6.x view scalpel/receipt @ rev 25024

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 18 20:10:17 2022 +0000 (2022-05-18)
parents 164fcaca1cd0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="scalpel"
4 VERSION="1.60"
5 CATEGORY="system-tools"
6 SHORT_DESC="Frugal, high performance file carver."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.digitalforensicssolutions.com/Scalpel"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - https://raw.githubusercontent.com/sleuthkit/scalpel/master/Changelog 2>/dev/null | \
17 sed '/^[0-9]/!d;s|[^0-9\.].*||' | sort -Vr | sed q
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src && make
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin $fs/etc
30 cp -a $src/scalpel $fs/usr/bin
31 cp -a $src/scalpel.conf $fs/etc
32 }