2020-02-19 20:00:53 +01:00
|
|
|
# Copyright 2020 Gentoo Authors
|
2018-04-23 11:42:41 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
|
|
|
|
inherit git-r3
|
|
|
|
|
|
|
|
DESCRIPTION="Simple client for retrieving AS from IP published via DNS"
|
|
|
|
HOMEPAGE="https://github.com/Rezopole/asdig"
|
|
|
|
EGIT_REPO_URI="https://github.com/Rezopole/asdig.git"
|
|
|
|
|
2020-02-19 20:00:53 +01:00
|
|
|
LICENSE="GPL-2"
|
2018-04-23 11:42:41 +02:00
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS=""
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DEPEND=""
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
insinto /usr/bin/
|
2020-02-19 20:00:53 +01:00
|
|
|
doins "${S}"/asdig || die "Install failed!"
|
2018-04-23 11:42:41 +02:00
|
|
|
dodoc README.md
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_preinst() {
|
2020-02-19 20:00:53 +01:00
|
|
|
chmod a+x "${D}"/usr/bin/asdig || die "chmod failed"
|
2018-04-23 11:42:41 +02:00
|
|
|
}
|