blob: 677970b0b37472c2493c487ddc8d02d4db7a0dff (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-www/mod_dav/mod_dav-1.0.3-r3.ebuild,v 1.4 2005/10/12 19:30:08 hansmi Exp $
inherit eutils apache-module
MY_V=${PV}-1.3.6
DESCRIPTION="Apache module for Distributed Authoring and Versioning"
HOMEPAGE="http://www.webdav.org/mod_dav/"
SRC_URI="http://www.webdav.org/mod_dav/${PN}-${MY_V}.tar.gz"
KEYWORDS="~amd64 ppc sparc x86"
DEPEND=""
LICENSE="as-is"
SLOT="0"
IUSE=""
S=${WORKDIR}/${PN}-${MY_V}
DOCFILES="LICENSE.html README CHANGES INSTALL"
APACHE1_MOD_FILE="libdav.so"
APACHE1_MOD_CONF="10_${PN}"
APACHE1_MOD_DEFINE="DAV"
need_apache1
src_unpack() {
unpack ${A} || die
cd ${S} || die
epatch ${FILESDIR}/${PN}-shared-expat.patch || die
epatch ${FILESDIR}/mod_dav_fs_lock.patch || die
autoconf || die
}
src_compile() {
./configure --host=${CHOST} || die
emake || die "compile problem"
}
pkg_postinst() {
# empty lock dir
install -m0750 -o apache -g apache -d ${ROOT}/var/lock/mod_dav
apache1_pkg_postinst
}
|