pentoo-overlay/net-analyzer/httprint/httprint-301.ebuild
2014-03-20 10:29:37 +00:00

36 lines
855 B
Bash

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /root/portage/net-analyzer/httprint/httprint-301.ebuild,v 1.1.1.1 2006/03/09 21:57:23 grimmlin Exp $
EAPI=5
MY_P="${PN}_${PV}"
DESCRIPTION="HTTP fingerprinter tool"
HOMEPAGE="http://net-square.com/httprint.html"
SRC_URI="http://net-square.com/zip%20folders/${PN}_linux_${PV}.zip"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="allsigs"
DEPEND=""
RDEPEND="amd64? ( sys-libs/glibc[multilib] )"
S="${WORKDIR}"/${MY_P}/linux
src_compile() {
einfo "Nothing to compile"
}
src_install() {
use allsigs && sed -i -e '/^#[a-zA-Z0-9]/ s/^#//g' signatures.txt
insinto /opt/${MY_P}/
doins nmapportlist.txt signatures.txt
exeinto /opt/${MY_P}/
doexe $PN
insinto /opt/${MY_P}/images/
doins images/*
dodoc input.txt readme.txt
}