commit:     bcdaa01b11a2b4c5dee4b7c030a7e88148f6e6e5
Author:     Thomas D <whissi <AT> whissi <DOT> de>
AuthorDate: Mon Mar  7 15:16:29 2016 +0000
Commit:     Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Mon Mar  7 15:16:29 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcdaa01b

dev-libs/librelp: Bump to v1.2.9 (Fixes #562138, wrt bug #576708)

- librelp no longer require GNUtls
- Bumped to EAPI=6

Bug: https://bugs.gentoo.org/show_bug.cgi?id=576708

Package-Manager: portage-2.2.27

 dev-libs/librelp/Manifest             |  1 +
 dev-libs/librelp/librelp-1.2.9.ebuild | 56 +++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/dev-libs/librelp/Manifest b/dev-libs/librelp/Manifest
index 64c28ef..2b5b121 100644
--- a/dev-libs/librelp/Manifest
+++ b/dev-libs/librelp/Manifest
@@ -1 +1,2 @@
 DIST librelp-1.2.7.tar.gz 410896 SHA256 
3a434a1c71772706104cfb1c93ba8e6809d257851d60de29ac2142c60c68d7d1 SHA512 
f8a71ad037cb5eaeb807b1bcb942893e2d10bcd57b18764bb13700c8e114d59de37b1b36560288abac18a07b6cb2920b46feaef4ae629aa0b3478ed16723542a
 WHIRLPOOL 
784f291d0318b29be33bcd4bdd41e04c2e0fc8f292c6cb7f5985743559aa65f3c10932680f943e065ebf34e3f62c75bf2ed5500aebe0b7ab2fa7e64ced37cc44
+DIST librelp-1.2.9.tar.gz 415909 SHA256 
520de7ba3dc688dc72c5b014dc61ef191e9528f77d1651ddca55fc0c149d98a3 SHA512 
2d30fdb1946d8c0484de26a741bf187016b8639a702e3a1d42aa390a34931be46064bdb2552950a078366fe2705644db8c6a6015ced2ce14d3d2488527cf0819
 WHIRLPOOL 
ae7095cdf93c2057f34aeee0cf0622284c39f9e84672baa9ff6296b50438cba4d8893114962b2b6f8feb68c0313057edb5fde3060e4fdffb904626a84e7a9690

diff --git a/dev-libs/librelp/librelp-1.2.9.ebuild 
b/dev-libs/librelp/librelp-1.2.9.ebuild
new file mode 100644
index 0000000..96db26a
--- /dev/null
+++ b/dev-libs/librelp/librelp-1.2.9.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="An easy to use library for the RELP protocol"
+HOMEPAGE="http://www.librelp.com/";
+SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz";
+
+LICENSE="GPL-3 doc? ( FDL-1.3 )"
+
+# subslot = soname version
+SLOT="0/0.1.0"
+
+KEYWORDS="~amd64 ~arm ~hppa ~sparc ~x86"
+IUSE="debug doc +ssl static-libs"
+
+RDEPEND="
+       ssl? ( >=net-libs/gnutls-3.3.17.1:0= )
+"
+
+DEPEND="
+       ssl? ( >=net-libs/gnutls-3.3.17.1:0= )
+       virtual/pkgconfig
+"
+
+src_prepare() {
+       sed -i \
+               -e 's/ -g"/"/g' \
+               configure.ac || die "sed failed"
+
+       default
+
+       eautoreconf
+}
+
+src_configure() {
+       local myeconfargs=(
+               $(use_enable debug)
+               $(use_enable ssl tls)
+               $(use_enable static-libs static)
+       )
+
+       econf "${myeconfargs[@]}"
+}
+
+src_install() {
+       local DOCS=( ChangeLog )
+       use doc && local HTML_DOCS=( doc/relp.html )
+       default
+
+       find "${ED}"usr/lib* -name '*.la' -delete
+}

Reply via email to