You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/librelp/librelp-1.2.7-r1.ebuild

45 lines
1.0 KiB

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/librelp/librelp-1.2.7-r1.ebuild,v 1.1 2014/07/05 08:02:24 dev-zero Exp $
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
}