wok annotate davfs2/receipt @ rev 24040

Up zstd (1.4.9)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 13 17:03:24 2021 +0000 (2021-04-13)
parents cd7983242740
children 17091bc7c301
rev   line source
pascal@3968 1 # SliTaz package receipt.
pascal@3968 2
pascal@3968 3 PACKAGE="davfs2"
Hans-G?nter@22631 4 VERSION="1.5.6"
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@3968 19 # Rules to configure and make the package.
pascal@3968 20 compile_rules()
pascal@3968 21 {
Hans-G?nter@22631 22 sed -i 's|-fstack-protector-strong ||' \
Hans-G?nter@22631 23 src/Makefile.*
Hans-G?nter@22631 24
Hans-G?nter@22631 25 ./configure \
Hans-G?nter@22631 26 --prefix=/usr \
Hans-G?nter@22631 27 --infodir=/usr/share/info \
Hans-G?nter@22631 28 --sysconfdir=/etc \
Hans-G?nter@22631 29 --mandir=/usr/share/man \
Hans-G?nter@22631 30 $CONFIGURE_ARGS &&
pascal@3968 31 make &&
pascal@14999 32 make DESTDIR=$DESTDIR install
pascal@3968 33 }
pascal@3968 34
pascal@3968 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@3968 36 genpkg_rules()
pascal@3968 37 {
pascal@3968 38 mkdir -p $fs/usr
Hans-G?nter@22631 39
Hans-G?nter@22631 40 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@22631 41 cp -a $install/etc $fs
Hans-G?nter@22631 42
Hans-G?nter@22631 43 sed -i -e 's/# dav_user/dav_user/' \
Hans-G?nter@22631 44 -e 's/# dav_group/dav_group/' \
Hans-G?nter@22631 45 -e 's/ davfs2 / www /' \
pascal@3968 46 $fs/etc/davfs2/davfs2.conf
pascal@3968 47 }