wok view mondo/receipt @ rev 24501

updated drbd-utils (9.11.0 -> 9.20.2)
author Hans-G?nter Theisgen
date Sun Feb 20 09:23:47 2022 +0100 (2022-02-20)
parents eafc65d6036c
children bc2b9d9bed6f
line source
1 # SliTaz package receipt.
3 PACKAGE="mondo"
4 VERSION="3.2.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="GPL disaster recovery solution."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.mondorescue.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="ftp://ftp.mondorescue.org/src/$TARBALL"
14 DEPENDS="afio coreutils-disk gawk mindi newt"
15 BUILD_DEPENDS="newt-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure $CONFIGURE_ARGS &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
37 cp -a $install/usr/sbin $fs/usr
38 cp -a $install/usr/share/mondo $fs/usr/share
39 }