diff options
Diffstat (limited to 'dev-libs/librelp/librelp-1.2.7-r1.ebuild')
-rw-r--r-- | dev-libs/librelp/librelp-1.2.7-r1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/librelp/librelp-1.2.7-r1.ebuild b/dev-libs/librelp/librelp-1.2.7-r1.ebuild new file mode 100644 index 000000000000..d723733143aa --- /dev/null +++ b/dev-libs/librelp/librelp-1.2.7-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools-utils + +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 )" +SLOT="0" +KEYWORDS="amd64 ~arm hppa ~sparc x86" +IUSE="debug doc +ssl static-libs" + +RDEPEND=" + ssl? ( >=net-libs/gnutls-2.12.23-r1 ) +" + +DEPEND=" + >=net-libs/gnutls-2.12.23-r1 + virtual/pkgconfig +" + +AUTOTOOLS_IN_SOURCE_BUILD=1 + +PATCHES=( "${FILESDIR}/${P}-prevent-segfault-with-keepalive.patch" ) + +src_configure() { + # gnutls-headers are always required (in src/tcp.h) despite the flag, bug #513754 + local myeconfargs=( + $(use_enable debug) + $(use_enable ssl tls) + ) + + autotools-utils_src_configure +} + +src_install() { + use doc && HTML_DOCS=( doc/relp.html ) + autotools-utils_src_install +} |