summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-09-12 00:04:38 +0000
committerTim Harder <radhermit@gentoo.org>2011-09-12 00:04:38 +0000
commit343de37396902de99a063814628478096910a840 (patch)
tree21ad10003c45eb4d229ddd4cc32c2cfdacd512af /mail-filter/libsrs2
parentRemove old. (diff)
downloadgentoo-2-343de37396902de99a063814628478096910a840.tar.gz
gentoo-2-343de37396902de99a063814628478096910a840.tar.bz2
gentoo-2-343de37396902de99a063814628478096910a840.zip
Update to EAPI 4 and add static-libs use flag.
(Portage version: 2.2.0_alpha55/cvs/Linux x86_64)
Diffstat (limited to 'mail-filter/libsrs2')
-rw-r--r--mail-filter/libsrs2/ChangeLog8
-rw-r--r--mail-filter/libsrs2/libsrs2-1.0.18.ebuild26
-rw-r--r--mail-filter/libsrs2/metadata.xml10
3 files changed, 26 insertions, 18 deletions
diff --git a/mail-filter/libsrs2/ChangeLog b/mail-filter/libsrs2/ChangeLog
index 6b7040a865a8..814d6d261035 100644
--- a/mail-filter/libsrs2/ChangeLog
+++ b/mail-filter/libsrs2/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-filter/libsrs2
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/libsrs2/ChangeLog,v 1.11 2010/02/01 20:00:59 maekke Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/libsrs2/ChangeLog,v 1.12 2011/09/12 00:04:38 radhermit Exp $
+
+ 12 Sep 2011; Tim Harder <radhermit@gentoo.org> libsrs2-1.0.18.ebuild,
+ metadata.xml:
+ Update to EAPI 4 and add static-libs use flag.
01 Feb 2010; Markus Meier <maekke@gentoo.org> libsrs2-1.0.18.ebuild:
amd64 stable, bug #299862
diff --git a/mail-filter/libsrs2/libsrs2-1.0.18.ebuild b/mail-filter/libsrs2/libsrs2-1.0.18.ebuild
index 6a271520ab9d..16a82c4d0325 100644
--- a/mail-filter/libsrs2/libsrs2-1.0.18.ebuild
+++ b/mail-filter/libsrs2/libsrs2-1.0.18.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/libsrs2/libsrs2-1.0.18.ebuild,v 1.6 2010/02/01 20:00:59 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/libsrs2/libsrs2-1.0.18.ebuild,v 1.7 2011/09/12 00:04:38 radhermit Exp $
+
+EAPI=4
inherit eutils autotools
@@ -11,25 +13,19 @@ SRC_URI="http://www.libsrs2.org/srs/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND}"
+IUSE="static-libs"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}/${P}-parallel-make.diff"
eautoreconf
}
-src_compile() {
- econf || die "econf failed"
- emake || die "emake failed"
+src_configure() {
+ econf \
+ $(use_enable static-libs static)
}
src_install() {
- emake DESTDIR="${D}" install || die "make install failed"
- find "${D}" -name '*.la' -delete
- dodoc AUTHORS INSTALL NEWS README
+ default
+ use static-libs || find "${D}" -name '*.la' -delete
}
diff --git a/mail-filter/libsrs2/metadata.xml b/mail-filter/libsrs2/metadata.xml
index 639eafb5f054..75fd672f9b54 100644
--- a/mail-filter/libsrs2/metadata.xml
+++ b/mail-filter/libsrs2/metadata.xml
@@ -2,5 +2,13 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>net-mail</herd>
-<longdescription>libsrs2 is the next generation SRS library from the original designer of SRS. It implements the Sender Rewriting Scheme, a part of the SPF/SRS protocol pair. Libsrs2 has been written from an entirely clean codebase with compliance, speed and versatility in mind. It is platform independent and has no external dependencies. It is thread-safe and heap-safe, and is suitable for large scale applications and embedded systems and can operate without many standard system facilities.</longdescription>
+<longdescription>
+ libsrs2 is the next generation SRS library from the original designer of
+ SRS. It implements the Sender Rewriting Scheme, a part of the SPF/SRS
+ protocol pair. Libsrs2 has been written from an entirely clean codebase with
+ compliance, speed and versatility in mind. It is platform independent and
+ has no external dependencies. It is thread-safe and heap-safe, and is
+ suitable for large scale applications and embedded systems and can operate
+ without many standard system facilities.
+</longdescription>
</pkgmetadata>