From f91962a5a46e683e2276c5b56fc768cb32e70b9a Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Tue, 3 Aug 2010 23:55:36 +0200 Subject: Added init script for radicale --- app-office/radicale/radicale-0.3-r3.ebuild | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'app-office/radicale/radicale-0.3-r3.ebuild') diff --git a/app-office/radicale/radicale-0.3-r3.ebuild b/app-office/radicale/radicale-0.3-r3.ebuild index ad46e6e..3e2a99e 100644 --- a/app-office/radicale/radicale-0.3-r3.ebuild +++ b/app-office/radicale/radicale-0.3-r3.ebuild @@ -6,7 +6,7 @@ EAPI=2 PYTHON_DEPEND="*:2.5" SUPPORT_PYTHON_ABIS=1 -inherit distutils +inherit eutils distutils MY_P="${PN/r/R}-${PV}" @@ -21,6 +21,18 @@ IUSE="" S=${WORKDIR}/${MY_P} +src_prepare() { + distutils_src_prepare + + epatch ${FILESDIR}/radicale-0.3-foreground.patch +} + +src_install() { + distutils_src_install + + newinitd ${FILESDIR}/radicale.init.d radicale +} + pkg_postinst() { elog "If you want to use SSL with ${PN}, please check that you have" elog "installed >=dev-lang/python-2.6[ssl]." -- cgit v1.2.3-54-g00ecf