diff options
author | George Shapovalov <george@gentoo.org> | 2005-07-15 10:19:20 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2005-07-15 10:19:20 +0000 |
commit | f01920ff81312ab080aae90f68fe03718ca1d991 (patch) | |
tree | 34c78aa163ac9c11602691c46f96f61a77401d02 /net-dns/host/host-991529.ebuild | |
parent | Oeps, commited a wrong ebuild (diff) | |
download | gentoo-2-f01920ff81312ab080aae90f68fe03718ca1d991.tar.gz gentoo-2-f01920ff81312ab080aae90f68fe03718ca1d991.tar.bz2 gentoo-2-f01920ff81312ab080aae90f68fe03718ca1d991.zip |
restricted maketest (#91515) and moved to net-dns from net-misc (#80805)
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'net-dns/host/host-991529.ebuild')
-rw-r--r-- | net-dns/host/host-991529.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/net-dns/host/host-991529.ebuild b/net-dns/host/host-991529.ebuild new file mode 100644 index 000000000000..69d8b6b4058c --- /dev/null +++ b/net-dns/host/host-991529.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/host/host-991529.ebuild,v 1.1 2005/07/15 10:19:20 george Exp $ + +# This is somewhat old tool, has not been changed since 1999, +# Still looks like host from bind does not provide all possible functionality +# at least xtraceroute wants LOC support, which is provided by this tool. + +# This is the homepage for xtraceroute, not host, but that's best I can do - +# at least it is mentioned there. + +inherit toolchain-funcs + +DESCRIPTION="the standalone host tool, supports LOC reporting (RFC1876)" +HOMEPAGE="http://www.dtek.chalmers.se/~d3august/xt/" +SRC_URI="ftp://ftp.ripe.net/tools/dns/${PN}.tar.Z" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="alpha amd64 hppa mips ppc ppc64 sparc x86" +IUSE="" + +RESTRICT="maketest" + +DEPEND=">=sys-apps/sed-4" + +S="${WORKDIR}" + +src_unpack() { + cd ${S} + unpack ${A} + + sed -i -e "s:staff:root:" Makefile \ + || die "sed Makefile failed" +} + +src_compile() { + emake CC="$(tc-getCC)" COPTS="${CFLAGS}" \ + || die "emake failed" + # ATTN! + # This util has slightly different format of output from "standard" host + # rename it to hostx, hopefully this does not conflict with anything. + mv host hostx + mv host.1 hostx.1 +} + +src_install () { + cd ${WORKDIR} + dobin hostx || die "dobin failed" + doman hostx.1 + dodoc RE* +} |