wok-current view davfs2/receipt @ rev 4967

Fix: amsn DEPENDS (Thanks davesurrey and Nik)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Feb 23 21:36:47 2010 +0100 (2010-02-23)
parents 27318035400a
children 6e90579538d6
line source
1 # SliTaz package receipt.
3 PACKAGE="davfs2"
4 VERSION="1.4.1"
5 CATEGORY="network"
6 SHORT_DESC="Remote collaborative authoring of Web resources."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://savannah.nongnu.org/projects/$PACKAGE"
10 WGET_URL="http://mirrors.linhub.com/savannah/$PACKAGE/$TARBALL"
11 DEPENDS="openssl libkrb5 krb5 expat neon"
12 BUILD_DEPENDS="openssl-dev krb5-dev krb5 expat-dev neon-dev"
13 CONFIG_FILES="/etc/davfs2"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/sbin $fs/usr
30 cp -a $_pkg/etc $fs
31 sed -i -e 's/# dav_user/dav_user/' \
32 -e 's/# dav_group/dav_group/' \
33 -e 's/ davfs2 / www /' \
34 $fs/etc/davfs2/davfs2.conf
35 }