wok annotate urbackup-client/receipt @ rev 25473
created recipe for get-java8-jre
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 12 10:36:11 2022 +0100 (2022-10-12) |
parents | 922f061231c2 |
children | 272fb709866b |
rev | line source |
---|---|
pascal@19952 | 1 # SliTaz package receipt. |
pascal@19952 | 2 |
pascal@19952 | 3 PACKAGE="urbackup-client" |
Hans-G?nter@23721 | 4 VERSION="2.4.10" |
pascal@19952 | 5 CATEGORY="network" |
Hans-G?nter@23721 | 6 TAGS="backup" |
Hans-G?nter@23721 | 7 SHORT_DESC="An easy to setup Open Source client-server backup system." |
pascal@19952 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19952 | 9 LICENSE="GPL3" |
pascal@24939 | 10 WEB_SITE="https://github.com/uroni/urbackup_backend" |
Hans-G?nter@23721 | 11 |
pascal@19952 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@19952 | 13 WGET_URL="https://hndl.urbackup.org/Client/$VERSION/$TARBALL" |
pascal@19952 | 14 |
pascal@19952 | 15 DEPENDS="cryptopp wxWidgets" |
pascal@19952 | 16 BUILD_DEPENDS="cryptopp wxWidgets-dev" |
pascal@19952 | 17 |
pascal@24304 | 18 # What is the latest version available today? |
pascal@24304 | 19 current_version() |
pascal@24304 | 20 { |
pascal@24939 | 21 wget -O - https://www.urbackup.org/download.html 2>/dev/null | \ |
pascal@24304 | 22 sed "/$PACKAGE-/!d;/href/!d;s|.*$PACKAGE-||;s|.tar.*||;q" |
pascal@24304 | 23 } |
pascal@24304 | 24 |
pascal@19952 | 25 # Rules to configure and make the package. |
pascal@19952 | 26 compile_rules() |
pascal@19952 | 27 { |
Hans-G?nter@23721 | 28 ./configure \ |
Hans-G?nter@23721 | 29 --prefix=/usr \ |
Hans-G?nter@23721 | 30 --sysconfdir=/etc \ |
Hans-G?nter@23721 | 31 --localstatedir=/var \ |
pascal@19952 | 32 $CONFIGURE_ARGS && |
pascal@19952 | 33 make && |
pascal@19952 | 34 make DESTDIR=$DESTDIR install |
pascal@19952 | 35 } |
pascal@19952 | 36 |
pascal@19952 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19952 | 38 genpkg_rules() |
pascal@19952 | 39 { |
pascal@19952 | 40 mkdir -p $install/usr/share/man |
Hans-G?nter@23721 | 41 |
Hans-G?nter@23721 | 42 cp -a $install/* $fs |
Hans-G?nter@23721 | 43 cp $src/docs/* $install/usr/share/man |
pascal@19952 | 44 } |