diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-23 04:19:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-23 04:19:44 +0000 |
commit | c5283d322accc6097afec74eab24550829788bab (patch) | |
tree | b99ce668128d82a026eaa31461643f9173f9b77b /dev-libs/librelp/librelp-1.2.15.ebuild | |
parent | 5510d9d7d1c93c2ea71a2bd6f0666168808d5dd6 (diff) |
gentoo resync : 23.03.2018
Diffstat (limited to 'dev-libs/librelp/librelp-1.2.15.ebuild')
-rw-r--r-- | dev-libs/librelp/librelp-1.2.15.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/dev-libs/librelp/librelp-1.2.15.ebuild b/dev-libs/librelp/librelp-1.2.15.ebuild new file mode 100644 index 000000000000..692c36b07029 --- /dev/null +++ b/dev-libs/librelp/librelp-1.2.15.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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.3.0" + +KEYWORDS="~amd64 ~arm ~arm64 ~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 || die +} |