wok-current view foremost/receipt @ rev 24619

updated gptfdisk (1.0.5 -> 1.0.8)
author Hans-G?nter Theisgen
date Mon Mar 07 10:40:58 2022 +0100 (2022-03-07)
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 }