wok view dcfldd/receipt @ rev 25598

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 12:03:07 2023 +0000 (10 months ago)
parents 8f37db468deb
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 '/tag\//!d;s|.*tag/v*||;s|".*||;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 }