whatweb: v0.4.8_pre20161010 bump

This commit is contained in:
blshkv 2017-05-09 08:24:09 +08:00
parent 1a38a96d57
commit 4333dbf031
No known key found for this signature in database
GPG key ID: 9CCF6FCB8D8A14BF

View file

@ -0,0 +1,40 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby21 ruby22 ruby23"
inherit ruby-ng git-r3
DESCRIPTION="Next generation web scanner, identifies what software websites are running"
HOMEPAGE="http://www.morningstarsecurity.com/research/whatweb"
EGIT_REPO_URI="https://github.com/urbanadventurer/WhatWeb.git"
EGIT_COMMIT="039768f41a6cd45ec70c89b81616b669bc92ac0f"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="json"
DEPEND=""
RDEPEND="${DEPEND}
json? ( dev-ruby/json )"
#future rdepend:
#dns: em-resolv-replace
#mongodb: bison bson_ext mongo rchardet
S="${WORKDIR}/${P}"
ruby-ng_src_prepare() {
# fix installation
sed -i 's|plugins-disabled||g' Makefile || die
sed -i 's|$(DOCPATH)/$(NAME)|$(DOCPATH)/${PF}|g' Makefile || die
eapply_user
}
ruby-ng_src_install() {
dodir /usr/share/doc/"${PF}"
DESTDIR="${D}" emake install
dodoc CHANGELOG README whatweb.xsl
}