diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-01-19 07:09:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-01-19 07:09:17 +0000 |
commit | 76d2c13b35159f97432f78737e7b76f721a3f3b6 (patch) | |
tree | e27a88cd2e03f3bf832a5aff272448fdab1d2fb8 /net-www/horde-mnemo | |
parent | REGISTRY check is useless (diff) | |
download | gentoo-2-76d2c13b35159f97432f78737e7b76f721a3f3b6.tar.gz gentoo-2-76d2c13b35159f97432f78737e7b76f721a3f3b6.tar.bz2 gentoo-2-76d2c13b35159f97432f78737e7b76f721a3f3b6.zip |
initial ebuild
Diffstat (limited to 'net-www/horde-mnemo')
-rw-r--r-- | net-www/horde-mnemo/ChangeLog | 8 | ||||
-rw-r--r-- | net-www/horde-mnemo/Manifest | 4 | ||||
-rw-r--r-- | net-www/horde-mnemo/files/digest-horde-mnemo-1.1 | 1 | ||||
-rw-r--r-- | net-www/horde-mnemo/horde-mnemo-1.1.ebuild | 54 | ||||
-rw-r--r-- | net-www/horde-mnemo/metadata.xml | 9 |
5 files changed, 76 insertions, 0 deletions
diff --git a/net-www/horde-mnemo/ChangeLog b/net-www/horde-mnemo/ChangeLog new file mode 100644 index 000000000000..e32bad21c934 --- /dev/null +++ b/net-www/horde-mnemo/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for net-www/horde-mnemo +# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/horde-mnemo/ChangeLog,v 1.1 2004/01/19 07:09:17 vapier Exp $ + +*horde-imp-1.1 (19 Jan 2004) + + 19 Jan 2004; Mike Frysinger <vapier@gentoo.org> : + Initial ebuild made by me. diff --git a/net-www/horde-mnemo/Manifest b/net-www/horde-mnemo/Manifest new file mode 100644 index 000000000000..baeb70376909 --- /dev/null +++ b/net-www/horde-mnemo/Manifest @@ -0,0 +1,4 @@ +MD5 f3cf71f6653a3a4350f8c810c2c9702a ChangeLog 2013 +MD5 79079552f55ffa29103190f5cc4806b5 horde-mnemo-1.1.ebuild 1401 +MD5 c339473e0ff43da76eb2f2607c441921 metadata.xml 280 +MD5 e54c3ff16ea96486c76cd3196e27852b files/digest-horde-mnemo-1.1 61 diff --git a/net-www/horde-mnemo/files/digest-horde-mnemo-1.1 b/net-www/horde-mnemo/files/digest-horde-mnemo-1.1 new file mode 100644 index 000000000000..43626560be9c --- /dev/null +++ b/net-www/horde-mnemo/files/digest-horde-mnemo-1.1 @@ -0,0 +1 @@ +MD5 d442371b0fda93406bcf0ddbe912b137 mnemo-1.1.tar.gz 206907 diff --git a/net-www/horde-mnemo/horde-mnemo-1.1.ebuild b/net-www/horde-mnemo/horde-mnemo-1.1.ebuild new file mode 100644 index 000000000000..152f369c95a1 --- /dev/null +++ b/net-www/horde-mnemo/horde-mnemo-1.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/horde-mnemo/horde-mnemo-1.1.ebuild,v 1.1 2004/01/19 07:09:17 vapier Exp $ + +inherit webapp-apache + +MY_P=${P/horde-/} +DESCRIPTION="Mnemo is the Horde note manager" +HOMEPAGE="http://www.horde.org/mnemo/" +SRC_URI="ftp://ftp.horde.org/pub/mnemo/tarballs/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ~ppc ~sparc ~alpha" + +DEPEND="" +RDEPEND=">=net-www/horde-2.2.4" + +S=${WORKDIR}/${MY_P} + +webapp-detect || NO_WEBSERVER=1 + +pkg_setup() { + GREPBACKEND=`egrep 'sql|odbc|postgres|ldap' /var/db/pkg/dev-php/mod_php*/USE` + if [ -z "${GREPBACKEND}" ] ; then + eerror "Missing SQL or LDAP support in mod_php !" + die "aborting..." + fi + webapp-pkg_setup "${NO_WEBSERVER}" + einfo "Installing into ${ROOT}${HTTPD_ROOT}." +} + +src_install() { + webapp-mkdirs + + local DocumentRoot=${HTTPD_ROOT} + local destdir=${DocumentRoot}/horde/mnemo + + dodoc README docs/* + rm -rf LICENSE README docs + + dodir ${destdir} + cp -r . ${D}${destdir} + cd ${D}/${HTTPD_ROOT}/horde + + # protecting files + chown -R ${HTTPD_USER}:${HTTPD_GROUP} mnemo + find ${D}/${destdir} -type f -exec chmod 0640 {} \; + find ${D}/${destdir} -type d -exec chmod 0750 {} \; +} + +pkg_postinst() { + einfo "Please read /usr/share/doc/${PF}/INSTALL.gz !" +} diff --git a/net-www/horde-mnemo/metadata.xml b/net-www/horde-mnemo/metadata.xml new file mode 100644 index 000000000000..13bc126c7d91 --- /dev/null +++ b/net-www/horde-mnemo/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>web-apps</herd> +<maintainer> +<email>web-apps@gentoo.org</email> +<name>Gentoo Web Application Packages Maintainers</name> +</maintainer> +</pkgmetadata> |