wok annotate cadaver/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | 378b0ba41272 |
children | b81ceff0b056 |
rev | line source |
---|---|
pascal@3965 | 1 # SliTaz package receipt. |
pascal@3965 | 2 |
pascal@3965 | 3 PACKAGE="cadaver" |
Hans-G?nter@20759 | 4 VERSION="0.23.3" |
pascal@3965 | 5 CATEGORY="network" |
Hans-G?nter@20759 | 6 TAGS="webdav" |
pascal@3965 | 7 SHORT_DESC="Command-line WEBDAV client." |
pascal@3965 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15001 | 9 LICENSE="GPL2" |
Hans-G?nter@20759 | 10 WEB_SITE="http://www.webdav.org/cadaver" |
Hans-G?nter@20759 | 11 |
pascal@3965 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@3965 | 13 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@15001 | 14 |
pascal@4999 | 15 DEPENDS="openssl libkrb5 krb5 expat neon readline zlib libcomerr3" |
pascal@3965 | 16 BUILD_DEPENDS="openssl-dev krb5-dev krb5 expat-dev neon-dev readline-dev" |
pascal@3965 | 17 |
pascal@24402 | 18 # What is the latest version available today? |
pascal@24402 | 19 current_version() |
pascal@24402 | 20 { |
pascal@24402 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24402 | 22 sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24402 | 23 } |
pascal@24402 | 24 |
pascal@3965 | 25 # Rules to configure and make the package. |
pascal@3965 | 26 compile_rules() |
pascal@3965 | 27 { |
pascal@20762 | 28 touch config.rpath |
Hans-G?nter@20759 | 29 ./configure \ |
Hans-G?nter@20759 | 30 --prefix=/usr \ |
Hans-G?nter@20759 | 31 --infodir=/usr/share/info \ |
Hans-G?nter@20759 | 32 --libexecdir=/usr/lib/litmus \ |
Hans-G?nter@20759 | 33 --mandir=/usr/share/man \ |
Hans-G?nter@20759 | 34 $CONFIGURE_ARGS && |
pascal@3965 | 35 make && |
pascal@15001 | 36 make DESTDIR=$DESTDIR install |
pascal@3965 | 37 } |
pascal@3965 | 38 |
pascal@3965 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3965 | 40 genpkg_rules() |
pascal@3965 | 41 { |
pascal@3965 | 42 mkdir -p $fs/usr |
pascal@15001 | 43 cp -a $install/usr/bin $fs/usr |
pascal@3965 | 44 } |