linamh/net-analyzer/fing/fing-3.0.ebuild
2017-03-06 17:02:44 +01:00

36 lines
987 B
Bash

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
inherit eutils versionator multilib
MAJOR_PV="$(get_version_component_range 1-3)"
FULL_PV="${MAJOR_PV}-$(get_version_component_range 4)"
DESCRIPTION="Simple and free tools to secure, analyze and troubleshoot any network."
HOMEPAGE="https://www.fing.io"
SRC_URI="amd64? ( https://39qiv73eht2y1az3q51pykkf-wpengine.netdna-ssl.com/wp-content/uploads/2016/09/overlook-fing-${PV}.tgz_.zip -> overlook-fing-${PV}.tgz_amd64.zip )
x86? ( https://39qiv73eht2y1az3q51pykkf-wpengine.netdna-ssl.com/wp-content/uploads/2016/09/overlook-fing-${PV}.tgz_-1.zip -> overlook-fing-${PV}.tgz_x86.zip )"
LICENSE="nomachine"
SLOT="0"
KEYWORDS="-* amd64 x86"
IUSE=""
RESTRICT="strip"
DEPEND="app-arch/unzip"
RDEPEND="sys-libs/zlib"
S=${WORKDIR}
src_unpack() {
unpack ${A}
cd "${S}"
unpack ./overlook-fing-${PV}.tgz
}
src_install()
{
cp -pPR usr "${D}" || die
}