diff --git a/net-analyzer/dripcap-bin/Manifest b/net-analyzer/dripcap-bin/Manifest new file mode 100644 index 000000000..b6861cece --- /dev/null +++ b/net-analyzer/dripcap-bin/Manifest @@ -0,0 +1 @@ +DIST dripcap-bin-0.5.1.deb 54049292 SHA256 492a269303fa509b37c8c094c475ad57ef7fdb124e3f4037af73b82d2221a725 SHA512 8b4256f20e0ff9f43ba43a77b2270d47e7ef78055e842092e220f0613eb834b53b035fbb48de76b88becf24f5d89a74e1b2692e89f680a54e4c2aee725dc2b00 WHIRLPOOL 03cc4fc78ce007a6f2a5f912d8ddda90aeadae5b18b00a5a0e7229676981c4a8f6be32f15de22a28825a896e123d6db1da341b64dcc03129f8f537ee30bc30c9 diff --git a/net-analyzer/dripcap-bin/dripcap-bin-0.5.1.ebuild b/net-analyzer/dripcap-bin/dripcap-bin-0.5.1.ebuild new file mode 100644 index 000000000..aee980f81 --- /dev/null +++ b/net-analyzer/dripcap-bin/dripcap-bin-0.5.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit unpacker + +DRIPCAP_HOME="usr/share/dripcap" + +DESCRIPTION="Caffeinated Modern Packet Analyzer" +HOMEPAGE="https://dripcap.org" +SRC_URI="https://github.com/dripcap/dripcap/releases/download/v${PV}/dripcap-linux-amd64.deb -> ${P}.deb" + +LICENSE="" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="" +#libcap2-bin +#node-gyp mocha + +RDEPEND="${DEPEND} + >=sys-devel/gcc-5.4.0" +#libnode.so: dev-util/electron" + +S=${WORKDIR} + +src_unpack() { + unpack_deb ${A} +} + +src_install() { + mkdir -p "${D}/${DRIPCAP_HOME}" + mv ${DRIPCAP_HOME}/* "${D}/${DRIPCAP_HOME}" || die + dosym /${DRIPCAP_HOME}/dripcap /usr/bin/dripcap +}