blob: b3cc9a8912a176abe3d87a56c77515d4fab9c23b (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Karl Trygve Kalleberg <karltk@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-misc/mod_dav/mod_dav-1.0.2.ebuild,v 1.2 2001/11/07 13:15:36 achim Exp $
S=${WORKDIR}/${P}-1.3.6
DESCRIPTION="WebDAV module for Apache 1.3.6 or later"
SRC_URI="http://www.webdav.org/mod_dav/mod_dav-1.0.2-1.3.6.tar.gz"
HOMEPAGE="http://www.webdav.org/mod_dav/"
DEPEND=">=net-www/apache-1.3.6
>=dev-libs/expat-1.95.1-r1"
# FIXME: This will only work if apache has been compiled dynamically
src_compile() {
./configure \
--host=${CHOST} \
--prefix=/usr \
--infodir=/usr/share/info \
--with-apxs=/usr/sbin/apxs \
--mandir=/usr/share/man || die
emake || die
}
src_install () {
dodoc CHANGES INSTALL README LICENSE.html
local confdir=`/usr/sbin/apxs -q SYSCONFDIR`
local libexecdir=`/usr/sbin/apxs -q LIBEXECDIR`
local includedir=`/usr/sbin/apxs -q INCLUDEDIR`
dodir ${libexecdir}
exeinto ${libexecdir}
doexe libdav.so
insinto ${includedir}
doins mod_dav.h
}
pkg_config() {
/usr/sbin/apxs -e -a -n dav /usr/lib/apache/libdav.so
echo ">>> You might want to tweak your `/usr/sbin/apxs -q SYSCONFDIR`/httpd.conf now"
}
|