wok-current view davfs2/receipt @ rev 24396

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 08 12:15:27 2022 +0000 (2022-02-08)
parents cd7983242740
children 17091bc7c301
line source
1 # SliTaz package receipt.
3 PACKAGE="davfs2"
4 VERSION="1.5.6"
5 CATEGORY="network"
6 SHORT_DESC="Remote collaborative authoring of Web resources."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://savannah.nongnu.org/projects/$PACKAGE"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL"
14 DEPENDS="expat krb5 libcomerr3 libkrb5 neon openssl zlib"
15 BUILD_DEPENDS="expat-dev krb5 krb5-dev neon-dev openssl-dev"
17 CONFIG_FILES="/etc/davfs2"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's|-fstack-protector-strong ||' \
23 src/Makefile.*
25 ./configure \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --sysconfdir=/etc \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
40 cp -a $install/usr/sbin $fs/usr
41 cp -a $install/etc $fs
43 sed -i -e 's/# dav_user/dav_user/' \
44 -e 's/# dav_group/dav_group/' \
45 -e 's/ davfs2 / www /' \
46 $fs/etc/davfs2/davfs2.conf
47 }