wok view davfs2/receipt @ rev 20454

Up zstd (1.3.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 06 15:17:20 2018 +0200 (2018-10-06)
parents 401224c936cc
children c7c1f3ae73ab
line source
1 # SliTaz package receipt.
3 PACKAGE="davfs2"
4 VERSION="1.5.4"
5 CATEGORY="network"
6 SHORT_DESC="Remote collaborative authoring of Web resources."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://savannah.nongnu.org/projects/$PACKAGE"
11 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL"
12 CONFIG_FILES="/etc/davfs2"
14 DEPENDS="openssl libkrb5 krb5 expat neon zlib libcomerr3"
15 BUILD_DEPENDS="openssl-dev krb5-dev krb5 expat-dev neon-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's|-fstack-protector-strong ||' src/Makefile.*
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/sbin $fs/usr
32 cp -a $install/etc $fs
33 sed -i -e 's/# dav_user/dav_user/' \
34 -e 's/# dav_group/dav_group/' \
35 -e 's/ davfs2 / www /' \
36 $fs/etc/davfs2/davfs2.conf
37 }