pentoo-overlay/net-analyzer/httprint/httprint-301.ebuild

34 lines
835 B
Bash

# Copyright 1999-2010 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 $
MY_P="${PN}_${PV}"
DESCRIPTION="HTTP fingerprinter tool"
HOMEPAGE="http://net-square.com/httprint/"
SRC_URI="http://net-square.com/${PN}/${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
}