wok-6.x view davfs2/receipt @ rev 24666
created recipes for double-conversion and double-conversion-dev
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 15:40:49 2022 +0100 (2022-03-11) |
parents | 17091bc7c301 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="davfs2"
4 VERSION="1.6.1"
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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed '/davfs2-/!d;/bin/d;s|.*davfs2-||;s|.tar.*||' | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed -i 's|-fstack-protector-strong ||' \
30 src/Makefile.*
32 ./configure \
33 --prefix=/usr \
34 --infodir=/usr/share/info \
35 --sysconfdir=/etc \
36 --mandir=/usr/share/man \
37 $CONFIGURE_ARGS &&
38 make &&
39 make install DESTDIR=$DESTDIR
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr
47 cp -a $install/usr/sbin $fs/usr
48 cp -a $install/etc $fs
50 sed -i -e 's|# dav_user|dav_user|' \
51 -e 's|# dav_group|dav_group|' \
52 -e 's| davfs2 | www |' \
53 $fs/etc/davfs2/davfs2.conf
54 }