wok-current view davfs2/receipt @ rev 8981

Automated merge with http://hg.slitaz.org/wok
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Mar 02 20:58:26 2011 +0100 (2011-03-02)
parents 54e2a0af6132
children c4a1f99029e8
line source
1 # SliTaz package receipt.
3 PACKAGE="davfs2"
4 VERSION="1.4.6"
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://nongnu.mirror.ironie.org/releases/$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 }