wok-4.x view davfs2/receipt @ rev 5008

[x-z]*: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 28 18:16:33 2010 +0100 (2010-02-28)
parents 7dba2299de12
children 54e2a0af6132
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 zlib libcomerr3"
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 }