wok-6.x view dd_rescue/receipt @ rev 24454
gnustep-back: added dependency icu
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 16 07:53:02 2022 +0100 (2022-02-16) |
parents | ce01bc78a7aa |
children | 5dbf835a322f |
line source
1 # SliTaz package receipt.
3 PACKAGE="dd_rescue"
4 VERSION="1.99.8"
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://www.garloff.de/kurt/linux/ddrescue/$TARBALL"
14 DEPENDS="openssl"
15 BUILD_DEPENDS="autoconf automake openssl-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./autogen.sh &&
28 make prefix=/usr &&
29 make install prefix=/usr
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
36 cp -a $src/dd_rescue $fs/usr/bin
37 }