wok view litmus/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents f0664a4a59f2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="litmus"
4 VERSION="0.13"
5 CATEGORY="network"
6 SHORT_DESC="WEBDAV server protocol compliance test suite."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.webdav.org/neon/litmus"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/$TARBALL"
14 DEPENDS="openssl libkrb5 libcomerr3 expat neon readline zlib"
15 BUILD_DEPENDS="openssl-dev krb5-dev expat-dev neon-dev readline-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-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --libexecdir=/usr/lib \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make -j 1 &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib $fs/usr
44 }