# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: Exp $ EAPI="2" inherit eutils DESCRIPTION="ASLOOKUP is the tool which searches the sequence of AS number specified with the parameter from IRR and indicates the first line of Description of AS Object" HOMEPAGE="http://aslookup.bgpview.org/index-e.html" SRC_URI="http://aslookup.bgpview.org/download/aslookup-beta0.13d.tar.gz" LICENSE="BSD-old" SLOT="0" KEYWORDS="amd64 x86" IUSE="" DEPEND="" RDEPEND="${DEPEND}" S="${WORKDIR}"/aslookup-beta0.13d src_prepare() { epatch "${FILESDIR}"/aslookup-Makefile-SevOne.diff || die "Error patching source" } src_compile() { emake || die "emake failed"; } src_install() { emake DESTDIR="${D}"usr/ install || die "Install failed" }