diff options
-rw-r--r-- | net-voip/sngrep/Manifest | 2 | ||||
-rw-r--r-- | net-voip/sngrep/sngrep-1.3.0.ebuild | 36 |
2 files changed, 38 insertions, 0 deletions
diff --git a/net-voip/sngrep/Manifest b/net-voip/sngrep/Manifest new file mode 100644 index 0000000..8dc09d5 --- /dev/null +++ b/net-voip/sngrep/Manifest @@ -0,0 +1,2 @@ +DIST sngrep-1.3.0.tar.gz 213228 SHA256 bf77ae470ee4282130aea3f689db82d0335c673a50e55d82308616bd07e42b77 SHA512 50a9a77743a87ccb03ace91e4a48a488a088a2258383bd1950dc7c6a21b8810d731589a719489e18f93581cdf201c65b9e393f315620c8f91675e5184f1fa6f8 WHIRLPOOL 12809be0a030c66a872265c6a1c3f2a81fff14f919864e279e85a701391b2b4af4ebdc58c0fdad10d248ee14b6dd2765c4eb9a1f56fb242828229020db307d1d +EBUILD sngrep-1.3.0.ebuild 887 SHA256 b778aa53620f19d117edd2d2cb42af4d90a00ca7cbb181770ede8a9289f08fcf SHA512 7faf9094e32185e5ade1eb44a5cf5f5c26436727291f76d91c19a72803f4af61165ea0e40a604ea745738e47d110a4be9175babad105df09ce74a7169e7ae410 WHIRLPOOL 85b696cb208ee94de5fb412ee69feefa0876b26de55e16e47f9608b738e35081b563c847adefeb15ff936bcdba450fde7dd2736728b622ffa908e66fd890ffe9 diff --git a/net-voip/sngrep/sngrep-1.3.0.ebuild b/net-voip/sngrep/sngrep-1.3.0.ebuild new file mode 100644 index 0000000..4ca1ee7 --- /dev/null +++ b/net-voip/sngrep/sngrep-1.3.0.ebuild @@ -0,0 +1,36 @@ +# 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} +} |