/[gentoo-x86]/net-dns/host/host-20070128-r1.ebuild
Gentoo

Contents of /net-dns/host/host-20070128-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (hide annotations) (download)
Sun Apr 14 18:06:00 2013 UTC (5 years, 4 months ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +3 -3 lines
Fix LICENSE, bug 465140.

(Portage version: 2.1.11.62/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)

1 ulm 1.11 # Copyright 1999-2013 Gentoo Foundation
2 hwoarang 1.1 # Distributed under the terms of the GNU General Public License v2
3 ulm 1.11 # $Header: /var/cvsroot/gentoo-x86/net-dns/host/host-20070128-r1.ebuild,v 1.10 2012/10/05 18:06:24 ranger Exp $
4 hwoarang 1.1
5     EAPI="2"
6     inherit eutils toolchain-funcs multilib
7    
8     DESCRIPTION="A powerful command-line DNS query and test tool implementing many additional protocols"
9     HOMEPAGE="http://www.weird.com/~woods/projects/host.html"
10 jer 1.2 SRC_URI="ftp://ftp.weird.com/pub/Planix/${P}.tar.gz"
11 hwoarang 1.1
12 ulm 1.11 LICENSE="BSD"
13 hwoarang 1.1 SLOT="0"
14 ranger 1.10 KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 sparc x86"
15 hwoarang 1.1 IUSE="debug"
16    
17     # Bug 91515
18     RESTRICT="test"
19    
20     RDEPEND=""
21     DEPEND="${RDEPEND}
22     >=sys-apps/sed-4"
23    
24     src_prepare() {
25     epatch "${FILESDIR}/${P}-Makefile.patch"
26     sed -i -e "s:^\(# if defined(__alpha).*\):\1 || defined(__x86_64__):" \
27     port.h || die "sed failed"
28     }
29    
30     src_compile() {
31     use debug && export DEBUGDEFS="-DDEBUG"
32     emake CC="$(tc-getCC)" RES_LIB=/usr/$(get_libdir)/libresolv.a || die "emake failed"
33     }
34    
35     src_install () {
36     # This tool has slightly different format of output from "standard" host.
37     # Renaming it to host-woods, hopefully this does not conflict with anything.
38    
39     newbin host host-woods || die "newbin failed"
40     newman host.1 host-woods.1 || die "newman failed"
41     dodoc RELEASE_NOTES ToDo || die "dodoc failed"
42     }

  ViewVC Help
Powered by ViewVC 1.1.20