summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/gnus/gnus-5.10.10-r1.ebuild')
-rw-r--r--app-emacs/gnus/gnus-5.10.10-r1.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/app-emacs/gnus/gnus-5.10.10-r1.ebuild b/app-emacs/gnus/gnus-5.10.10-r1.ebuild
new file mode 100644
index 000000000000..aa4b8640aea9
--- /dev/null
+++ b/app-emacs/gnus/gnus-5.10.10-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/gnus/gnus-5.10.10-r1.ebuild,v 1.1 2009/10/26 22:00:52 ulm Exp $
+
+inherit elisp
+
+DESCRIPTION="The Gnus newsreader and mail-reader"
+HOMEPAGE="http://gnus.org/"
+SRC_URI="http://quimby.gnus.org/gnus/dist/${P}.tar.gz"
+
+LICENSE="GPL-3 FDL-1.2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="!app-emacs/gnus-cvs
+ !app-emacs/ngnus"
+
+ELISP_PATCHES="${P}-functionp.patch"
+SITEFILE="70${PN}-gentoo.el"
+
+src_compile() {
+ econf \
+ --with-emacs --without-w3 --without-url \
+ --with-lispdir=${SITELISP}/${PN} \
+ --with-etcdir=${SITEETC}
+ emake || die "emake failed"
+}
+
+src_install() {
+ einstall \
+ lispdir="${D}${SITELISP}/${PN}" \
+ etcdir="${D}${SITEETC}" \
+ || die "einstall failed"
+
+ # fix info documentation
+ for i in "${D}"/usr/share/info/*; do
+ mv "${i}" "${i}".info || die "mv info failed"
+ done
+
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+
+ dodoc ChangeLog GNUS-NEWS README todo || die "dodoc failed"
+}