wok-current view cadaver/receipt @ rev 25483

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