wok-6.x view foremost/receipt @ rev 24533

updated f3 (7.2 -> 8.0)
author Hans-G?nter Theisgen
date Wed Feb 23 11:14:10 2022 +0100 (2022-02-23)
parents 3b4e4318134e
children b0069c845544
line source
1 # SliTaz package receipt.
3 PACKAGE="foremost"
4 VERSION="1.5.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="Data carving utility."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="PublicDomain"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://foremost.sourceforge.net"
11 WGET_URL="$WEB_SITE/pkg/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - $WEB_SITE 2>/dev/null | \
17 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 sed -i 's/\/usr\/local\/etc/\/etc/' config.c
25 make
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin $fs/etc
32 cp -a $src/foremost $fs/usr/bin
33 cp -a $src/foremost.conf $fs/etc
34 }