wok view foremost/receipt @ rev 25005
updated ntl (11.4.3 -> 11.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 16:29:07 2022 +0100 (2022-05-16) |
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 }