diff options
Diffstat (limited to 'net-libs/libprotoident/libprotoident-2.0.12.ebuild')
-rw-r--r-- | net-libs/libprotoident/libprotoident-2.0.12.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/net-libs/libprotoident/libprotoident-2.0.12.ebuild b/net-libs/libprotoident/libprotoident-2.0.12.ebuild new file mode 100644 index 00000000000..0eb230f26ce --- /dev/null +++ b/net-libs/libprotoident/libprotoident-2.0.12.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils + +DESCRIPTION="A library that performs application layer protocol identification for flows" +HOMEPAGE="http://research.wand.net.nz/software/libprotoident.php" +SRC_URI="http://research.wand.net.nz/software/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3+" +SLOT="0/2" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs tools" + +DEPEND=" + >=net-libs/libtrace-4.0.1 + >=net-libs/libflowmanager-3.0.0 +" +RDEPEND=" + ${DEPEND} +" + +src_prepare() { + default + + sed -i \ + -e '/-Werror/d' \ + lib/Makefile{.am,.in} || die +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_with tools) +} + +src_install() { + default + prune_libtool_files +} |