wok-6.x view dcfldd/receipt @ rev 25041
Up fatattr (1.0.1), puzzles (20220128)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 27 17:15:46 2022 +0000 (2022-05-27) |
parents | d31cf85c8537 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="dcfldd"
4 VERSION="1.7.1"
5 CATEGORY="misc"
6 SHORT_DESC="Enhanced dd with features useful for forensics and security."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/resurrecting-open-source-projects/dcfldd"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/resurrecting-open-source-projects/$PACKAGE/archive/v$VERSION.tar.gz"
14 DEPENDS=""
15 BUILD_DEPENDS="automake"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/resurrecting-open-source-projects/dcfldd/releases/ 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./autogen.sh &&
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders bin
39 }