]> Pileus Git - ~andy/sunrise/commitdiff
mail-client/alpine: New Ebuild for bug 176904. Thanks to Sascha Lucas and Holger...
authorJanne Rönkkö (jroo) <jroo@iki.fi>
Sun, 26 Oct 2008 17:30:39 +0000 (17:30 +0000)
committerJanne Rönkkö (jroo) <jroo@iki.fi>
Sun, 26 Oct 2008 17:30:39 +0000 (17:30 +0000)
svn path=/sunrise/; revision=7263

mail-client/alpine/ChangeLog [new file with mode: 0644]
mail-client/alpine/Manifest [new file with mode: 0644]
mail-client/alpine/alpine-2.00.ebuild [new file with mode: 0644]
mail-client/alpine/metadata.xml [new file with mode: 0644]

diff --git a/mail-client/alpine/ChangeLog b/mail-client/alpine/ChangeLog
new file mode 100644 (file)
index 0000000..0ea9d1d
--- /dev/null
@@ -0,0 +1,9 @@
+# ChangeLog for mail-client/alpine
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  26 Oct 2008; Janne Rönkkö (jroo) <jroo@iki.fi> +alpine-2.00.ebuild,
+  +metadata.xml:
+  New Ebuild for bug 176904. Thanks to Sascha Lucas and Holger Hoffstätte for
+  the original ebuild.
+
diff --git a/mail-client/alpine/Manifest b/mail-client/alpine/Manifest
new file mode 100644 (file)
index 0000000..968e3b5
--- /dev/null
@@ -0,0 +1,5 @@
+DIST alpine-2.00.tar.bz2 5222673 RMD160 9e67704b23b3973d8b878e65ad9e6f5026c10d13 SHA1 dcbd3c5419954f484ccf706feaba31ce48cdebc4 SHA256 c85db8405af90375ba2440c85b7952d80996154e9916b83acca558dc82e0a2a6
+DIST chappa-alpine-2.00.patch.gz 172668 RMD160 fcceee4e2c0f44d627d53737fe7722845ba2c50e SHA1 fad5abb4f8e417e3184cce60b010acb311561f74 SHA256 5e6d62fb9614aaa29689b8d0e6b1ec881d6b0a4825fada0c3d3157f6c0e343aa
+EBUILD alpine-2.00.ebuild 1498 RMD160 277e224b95f3c81ad553055f8ed3c8566df0ec8f SHA1 f0ff5a76523fe17f187d4e66a7c812aa2a404662 SHA256 3caa5af80ec365a36efb30a44a200654e330f75366b19cf166012e6b7f48cb9c
+MISC ChangeLog 311 RMD160 05f2644dff5d234f21e0dec294362e4c37b4e426 SHA1 17f2834e3bbb101531fc03e3eae32639492f1a3a SHA256 a7cb4035e2bc446c3c025b0cfb95f5026480ae7f14f084e7207587505b84c55f
+MISC metadata.xml 239 RMD160 7b052aa8586361ae6ff7207be213120b534ca0f4 SHA1 c3651948ca45ce13b6f5ccbf667e1f08a9dd6c5d SHA256 e76e894e2913d3fae70e212eeafedf9c393354e206b7a50b11470442336116c9
diff --git a/mail-client/alpine/alpine-2.00.ebuild b/mail-client/alpine/alpine-2.00.ebuild
new file mode 100644 (file)
index 0000000..06dd937
--- /dev/null
@@ -0,0 +1,60 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=1
+
+inherit eutils
+
+DESCRIPTION="Fast and easy to use command line email client based on Pine."
+HOMEPAGE="http://www.washington.edu/alpine/
+http://staff.washington.edu/chappa/alpine/"
+SRC_URI="ftp://ftp.cac.washington.edu/${PN}/${P}.tar.bz2
+       chappa? (
+       http://dev.gentooexperimental.org/~tommy/distfiles/chappa-${P}.patch.gz )"
+# When the patch is not needed anymore inform Tommy[D] so he can
+# remove the patch from his home directory.
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+chappa +ipv6 kerberos ldap +nls +mime +ssl tcl +threads"
+
+DEPEND="sys-libs/ncurses
+       ssl? ( dev-libs/openssl )
+       ldap? ( net-nds/openldap )
+       kerberos? ( app-crypt/mit-krb5 )"
+RDEPEND="${DEPEND}
+       app-misc/mime-types"
+
+src_unpack() {
+       unpack ${P}.tar.bz2
+       cd "${S}"
+       epatch "${DISTDIR}/chappa-${P}.patch.gz"
+}
+
+src_compile() {
+       econf \
+               $( use_with ssl ) \
+               $( use_with kerberos krb5 ) \
+               $( use_with ldap ) \
+               $( use_with mime smime ) \
+               $( use_with ipv6 ) \
+               $( use_with tcl ) \
+               $( use_with threads pthread )
+
+       emake || die "Build failed."
+}
+
+src_install() {
+       emake DESTDIR="${D}" install || die "Installation failed"
+       dodoc README NOTICE || die "dodoc failed."
+}
+
+pkg_postinst() {
+       elog "For additional functionality you may want to"
+       elog "install some of the programs listed below"
+       elog " * aspell for spell checking"
+       elog " * topal for encryption and signing"
+}
+
diff --git a/mail-client/alpine/metadata.xml b/mail-client/alpine/metadata.xml
new file mode 100644 (file)
index 0000000..13b446f
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>maintainer-wanted</herd>
+       <use>
+               <flag name='chappa'>Include chappa patches</flag>
+       </use>
+</pkgmetadata>
+