wok annotate litmus/receipt @ rev 25062

Up foomatic-db-nonfree (20210824)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 07 10:29:31 2022 +0000 (2022-06-07)
parents f0664a4a59f2
children
rev   line source
pascal@3966 1 # SliTaz package receipt.
pascal@3966 2
pascal@3966 3 PACKAGE="litmus"
Hans-G?nter@21367 4 VERSION="0.13"
pascal@3966 5 CATEGORY="network"
pascal@3966 6 SHORT_DESC="WEBDAV server protocol compliance test suite."
pascal@3966 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
Hans-G?nter@21367 9 WEB_SITE="http://www.webdav.org/neon/litmus"
Hans-G?nter@21367 10
pascal@3966 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@3966 12 WGET_URL="$WEB_SITE/$TARBALL"
pascal@15002 13
pascal@5003 14 DEPENDS="openssl libkrb5 libcomerr3 expat neon readline zlib"
erjo@4784 15 BUILD_DEPENDS="openssl-dev krb5-dev expat-dev neon-dev readline-dev"
pascal@3966 16
pascal@24425 17 # What is the latest version available today?
pascal@24425 18 current_version()
pascal@24425 19 {
pascal@24425 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24425 21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24425 22 }
pascal@24425 23
pascal@3966 24 # Rules to configure and make the package.
pascal@3966 25 compile_rules()
pascal@3966 26 {
Hans-G?nter@21367 27 ./configure \
Hans-G?nter@21367 28 --prefix=/usr \
Hans-G?nter@21367 29 --infodir=/usr/share/info \
Hans-G?nter@21367 30 --libexecdir=/usr/lib \
Hans-G?nter@21367 31 --mandir=/usr/share/man \
Hans-G?nter@21367 32 $CONFIGURE_ARGS &&
Hans-G?nter@21367 33 make -j 1 &&
pascal@15002 34 make DESTDIR=$DESTDIR install
pascal@3966 35 }
pascal@3966 36
pascal@3966 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@3966 38 genpkg_rules()
pascal@3966 39 {
pascal@3966 40 mkdir -p $fs/usr
Hans-G?nter@21367 41
pascal@15002 42 cp -a $install/usr/bin $fs/usr
pascal@15002 43 cp -a $install/usr/lib $fs/usr
pascal@3966 44 }