# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v3 # $Header: $ EAPI=5 AUTOTOOLS_IN_SOURCE_BUILD=1 AUTOTOOLS_AUTORECONF=1 inherit autotools-utils eutils toolchain-funcs DESCRIPTION="Terminal SIP messages flow viewer" HOMEPAGE="https://github.com/irontec/sngrep/" SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3 openssl" SLOT="0" KEYWORDS="~alfa ~sparc x86 amd64 ~mips ~ppc ~ppc64 ~ppc-macos ~ia64" IUSE="pcre ssl unicode ipv6" RDEPEND=" sys-libs/ncurses net-libs/libpcap ssl? ( dev-libs/openssl ) unicode? ( sys-libs/ncurses[unicode] ) pcre? ( dev-libs/libpcre )" DEPEND="${RDEPEND}" DOCS=( ChangeLog README.md AUTHORS ) src_configure() { econf \ $(use_with ssl openssl ) \ $(use_with pcre) \ $(use_enable unicode) \ $(use_enable ipv6) \ ${myconf} }