pentoo-overlay/net-analyzer/whatweb/whatweb-0.4.7.ebuild
2011-04-06 02:13:08 +00:00

39 lines
898 B
Bash

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=3
DESCRIPTION="Next generation web scanner, identifies what software websites are running"
HOMEPAGE="http://www.morningstarsecurity.com/research/whatweb"
SRC_URI="http://www.morningstarsecurity.com/downloads/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="json"
DEPEND="dev-lang/ruby"
RDEPEND="${DEPEND}
json? ( dev-ruby/json )"
#future rdepend:
#dns: em-resolv-replace
#monodb: bison bson_ext mongo rchardet
src_prepare() {
# fix install
sed -i 's|plugins-disabled||g' Makefile || die
sed -i 's|$(DOCPATH)/$(NAME)|$(DOCPATH)/${PF}|g' Makefile || die
}
src_compile() {
# do nothing
true
}
src_install() {
dodir /usr/share/doc/"${PF}"
DESTDIR="${D}" emake install || die "install failed"
dodoc CHANGELOG README TODO whatweb.xsl || die
}