wok-stable view davfs2/receipt @ rev 9931

dega: fix bdeps
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue May 17 23:46:33 2011 +0200 (2011-05-17)
parents 54e2a0af6132
children
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 }