wok-current annotate mondo/receipt @ rev 25431
qt5: update wget_url with archive.org
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 19 06:34:23 2022 +0000 (2022-08-19) |
parents | 241fb98cab1c |
children |
rev | line source |
---|---|
erjo@13492 | 1 # SliTaz package receipt. |
erjo@13492 | 2 |
erjo@13492 | 3 PACKAGE="mondo" |
Hans-G?nter@21466 | 4 VERSION="3.2.2" |
erjo@13492 | 5 CATEGORY="system-tools" |
erjo@13492 | 6 SHORT_DESC="GPL disaster recovery solution." |
erjo@13492 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
erjo@13492 | 9 WEB_SITE="http://www.mondorescue.org/" |
Hans-G?nter@21466 | 10 |
erjo@13492 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@24614 | 12 WGET_URL="http://www.mondorescue.org/ftp/src/$TARBALL" |
erjo@13492 | 13 |
Hans-G?nter@21466 | 14 DEPENDS="afio coreutils-disk gawk mindi newt" |
erjo@13492 | 15 BUILD_DEPENDS="newt-dev" |
erjo@13492 | 16 |
pascal@24453 | 17 # What is the latest version available today? |
pascal@24453 | 18 current_version() |
pascal@24453 | 19 { |
pascal@24453 | 20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24453 | 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q |
pascal@24453 | 22 } |
pascal@24453 | 23 |
erjo@13492 | 24 # Rules to configure and make the package. |
erjo@13492 | 25 compile_rules() |
erjo@13492 | 26 { |
Hans-G?nter@21466 | 27 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@21466 | 28 make && |
Hans-G?nter@21466 | 29 make install |
erjo@13492 | 30 } |
erjo@13492 | 31 |
erjo@13492 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@13492 | 33 genpkg_rules() |
erjo@13492 | 34 { |
erjo@13492 | 35 mkdir -p $fs/usr/share |
Hans-G?nter@21466 | 36 |
Hans-G?nter@21466 | 37 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@21466 | 38 cp -a $install/usr/share/mondo $fs/usr/share |
erjo@13492 | 39 } |