wok-6.x view dd_rescue/receipt @ rev 24692

updated jsoncpp (1.9.2 -> 1.9.5)
author Hans-G?nter Theisgen
date Sat Mar 12 15:46:33 2022 +0100 (2022-03-12)
parents bfabe25c21ff
children
line source
1 # SliTaz package receipt.
3 PACKAGE="dd_rescue"
4 VERSION="1.99.11"
5 CATEGORY="system-tools"
6 SHORT_DESC="Block device copy tools."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.garloff.de/kurt/linux/ddrescue/"
10 REPOLOGY="dd-rescue"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://www.garloff.de/kurt/linux/ddrescue/$TARBALL"
15 DEPENDS="openssl"
16 BUILD_DEPENDS="autoconf automake openssl-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./autogen.sh &&
29 make prefix=/usr &&
30 make install prefix=/usr
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
37 cp -a $src/dd_rescue $fs/usr/bin
38 }