summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-10-23 03:55:23 +0000
committerTim Harder <radhermit@gentoo.org>2014-10-23 03:55:23 +0000
commite68c862df3fb9b6db8d066bfdd18f97535279aec (patch)
tree4af9c29a91ef90433eba48d0ead831f7e8fc895f /mail-filter/libspf2/libspf2-1.2.10.ebuild
parentVersion bump. (diff)
downloadhistorical-e68c862df3fb9b6db8d066bfdd18f97535279aec.tar.gz
historical-e68c862df3fb9b6db8d066bfdd18f97535279aec.tar.bz2
historical-e68c862df3fb9b6db8d066bfdd18f97535279aec.zip
Version bump.
Package-Manager: portage-2.2.12/cvs/Linux x86_64 Manifest-Sign-Key: 0x4AB3E85B4F064CA3
Diffstat (limited to 'mail-filter/libspf2/libspf2-1.2.10.ebuild')
-rw-r--r--mail-filter/libspf2/libspf2-1.2.10.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/mail-filter/libspf2/libspf2-1.2.10.ebuild b/mail-filter/libspf2/libspf2-1.2.10.ebuild
new file mode 100644
index 000000000000..1190613c6d12
--- /dev/null
+++ b/mail-filter/libspf2/libspf2-1.2.10.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/libspf2/libspf2-1.2.10.ebuild,v 1.1 2014/10/23 03:55:20 radhermit Exp $
+
+EAPI=5
+inherit autotools
+
+DESCRIPTION="libspf2 implements the Sender Policy Framework, a part of the SPF/SRS protocol pair"
+HOMEPAGE="http://www.libspf2.org"
+SRC_URI="http://www.libspf2.org/spf/libspf2-${PV}.tar.gz"
+
+LICENSE="|| ( LGPL-2.1 BSD-2 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="static static-libs"
+
+DEPEND=""
+RDEPEND="!dev-perl/Mail-SPF-Query"
+REQUIRED_USE="static? ( static-libs )"
+
+src_prepare() {
+ if ! use static; then
+ sed -i -e '/bin_PROGRAMS/s/spfquery_static//' src/spfquery/Makefile.am \
+ -e '/bin_PROGRAMS/s/spftest_static//' src/spftest/Makefile.am \
+ -e '/bin_PROGRAMS/s/spfd_static//' src/spfd/Makefile.am \
+ -e '/bin_PROGRAMS/s/spf_example_static//' src/spf_example/Makefile.am \
+ || die
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc README TODO INSTALL
+
+ use static-libs || rm -f "${D}"/usr/lib*/libspf2.la
+}