summaryrefslogtreecommitdiff
blob: ae57485a816bcacc49973feffd364c69bcb6649c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/davfs2/davfs2-0.2.1.ebuild,v 1.4 2003/10/10 17:26:00 mholzer Exp $

IUSE="ssl"

DESCRIPTION="a Linux file system driver that allows you to mount a WebDAV server as a local disk drive. Davfs2 uses Coda for kernel driver and neon for WebDAV interface. "
SRC_URI="mirror://sourceforge/dav/${P}.tar.gz"
HOMEPAGE="http://dav.sourceforge.net"
KEYWORDS="x86"

LICENSE="GPL-2"
DEPEND="ssl? ( >=dev-libs/openssl-0.9.6 )"
SLOT="0"

src_compile() {
	local myconf

	use ssl \
		&& myconf="${myconf} --with-ssl" \
		|| myconf="${myconf} --without-ssl"

	econf ${myconf} || die
	emake || die
}

src_install() {
	einstall
}

pkg_postinst() {
	einfo ""
	einfo "Remember you have to have coda compiled in to your kernel"
	einfo "in order to use davfs2"
	einfo ""
}