summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2007-01-14 16:31:52 +0000
committerLuca Longinotti <chtekk@gentoo.org>2007-01-14 16:31:52 +0000
commiteb9754ae9dd6fee295d12be7f3e7721dd19346f7 (patch)
tree9c99f0cd8152054c78989a82b7c2cdfd3ac5e11a /net-www/mod_dav
parentReadd seamonkey-support (diff)
downloadgentoo-2-eb9754ae9dd6fee295d12be7f3e7721dd19346f7.tar.gz
gentoo-2-eb9754ae9dd6fee295d12be7f3e7721dd19346f7.tar.bz2
gentoo-2-eb9754ae9dd6fee295d12be7f3e7721dd19346f7.zip
Cleanup.
(Portage version: 2.1.2_rc4-r8)
Diffstat (limited to 'net-www/mod_dav')
-rw-r--r--net-www/mod_dav/ChangeLog8
-rw-r--r--net-www/mod_dav/mod_dav-1.0.3-r3.ebuild31
2 files changed, 22 insertions, 17 deletions
diff --git a/net-www/mod_dav/ChangeLog b/net-www/mod_dav/ChangeLog
index dfe927e2c62f..22b03ed10db6 100644
--- a/net-www/mod_dav/ChangeLog
+++ b/net-www/mod_dav/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-www/mod_dav
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mod_dav/ChangeLog,v 1.23 2006/06/04 19:38:37 vericgar Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_dav/ChangeLog,v 1.24 2007/01/14 16:31:52 chtekk Exp $
+
+ 14 Jan 2007; Luca Longinotti <chtekk@gentoo.org> -files/mod_dav.conf,
+ mod_dav-1.0.3-r3.ebuild:
+ Cleanup, fix autotools usage.
04 Jun 2006; Michael Stewart <vericgar@gentoo.org>
-mod_dav-1.0.3-r1.ebuild, -mod_dav-1.0.3-r2.ebuild:
diff --git a/net-www/mod_dav/mod_dav-1.0.3-r3.ebuild b/net-www/mod_dav/mod_dav-1.0.3-r3.ebuild
index 677970b0b374..bf747cca35d5 100644
--- a/net-www/mod_dav/mod_dav-1.0.3-r3.ebuild
+++ b/net-www/mod_dav/mod_dav-1.0.3-r3.ebuild
@@ -1,22 +1,24 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2007 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 $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mod_dav/mod_dav-1.0.3-r3.ebuild,v 1.5 2007/01/14 16:31:52 chtekk Exp $
-inherit eutils apache-module
+inherit eutils autotools apache-module
MY_V=${PV}-1.3.6
-DESCRIPTION="Apache module for Distributed Authoring and Versioning"
+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}
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}/${PN}-${MY_V}"
DOCFILES="LICENSE.html README CHANGES INSTALL"
@@ -27,20 +29,19 @@ 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
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${PN}-shared-expat.patch"
+ epatch "${FILESDIR}/${PN}_fs_lock.patch"
+ eautoconf
}
src_compile() {
- ./configure --host=${CHOST} || die
- emake || die "compile problem"
+ econf || die "econf failed"
+ emake || die "emake failed"
}
pkg_postinst() {
- # empty lock dir
- install -m0750 -o apache -g apache -d ${ROOT}/var/lock/mod_dav
+ install -m0750 -o apache -g apache -d "${ROOT}"/var/lock/mod_dav
apache1_pkg_postinst
}