wok annotate davfs2/receipt @ rev 25006

updated ntp (4.2.8.p13 -> 4.2.8.p15)
author Hans-G?nter Theisgen
date Mon May 16 16:37:26 2022 +0100 (2022-05-16)
parents 17091bc7c301
children
rev   line source
pascal@3968 1 # SliTaz package receipt.
pascal@3968 2
pascal@3968 3 PACKAGE="davfs2"
Hans-G?nter@24469 4 VERSION="1.6.1"
pascal@3968 5 CATEGORY="network"
pascal@3968 6 SHORT_DESC="Remote collaborative authoring of Web resources."
pascal@3968 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
Hans-G?nter@22631 9 WEB_SITE="https://savannah.nongnu.org/projects/$PACKAGE"
Hans-G?nter@22631 10
pascal@3968 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22631 12 WGET_URL="https://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL"
Hans-G?nter@22631 13
Hans-G?nter@22631 14 DEPENDS="expat krb5 libcomerr3 libkrb5 neon openssl zlib"
Hans-G?nter@22631 15 BUILD_DEPENDS="expat-dev krb5 krb5-dev neon-dev openssl-dev"
Hans-G?nter@22631 16
pascal@14999 17 CONFIG_FILES="/etc/davfs2"
pascal@14999 18
pascal@24415 19 # What is the latest version available today?
pascal@24415 20 current_version()
pascal@24415 21 {
pascal@24415 22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24415 23 sed '/davfs2-/!d;/bin/d;s|.*davfs2-||;s|.tar.*||' | sort -Vr | sed q
pascal@24415 24 }
pascal@24415 25
pascal@3968 26 # Rules to configure and make the package.
pascal@3968 27 compile_rules()
pascal@3968 28 {
Hans-G?nter@22631 29 sed -i 's|-fstack-protector-strong ||' \
Hans-G?nter@22631 30 src/Makefile.*
Hans-G?nter@22631 31
Hans-G?nter@22631 32 ./configure \
Hans-G?nter@22631 33 --prefix=/usr \
Hans-G?nter@22631 34 --infodir=/usr/share/info \
Hans-G?nter@22631 35 --sysconfdir=/etc \
Hans-G?nter@22631 36 --mandir=/usr/share/man \
Hans-G?nter@22631 37 $CONFIGURE_ARGS &&
pascal@3968 38 make &&
Hans-G?nter@24469 39 make install DESTDIR=$DESTDIR
pascal@3968 40 }
pascal@3968 41
pascal@3968 42 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@3968 43 genpkg_rules()
pascal@3968 44 {
pascal@3968 45 mkdir -p $fs/usr
Hans-G?nter@22631 46
Hans-G?nter@22631 47 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@22631 48 cp -a $install/etc $fs
Hans-G?nter@22631 49
Hans-G?nter@24469 50 sed -i -e 's|# dav_user|dav_user|' \
Hans-G?nter@24469 51 -e 's|# dav_group|dav_group|' \
Hans-G?nter@24469 52 -e 's| davfs2 | www |' \
pascal@3968 53 $fs/etc/davfs2/davfs2.conf
pascal@3968 54 }