summaryrefslogtreecommitdiff
blob: 7d6820a9f20d20c04c4b763eb8c0ce5d9f78e81d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/selfdhcp/selfdhcp-0.2a.ebuild,v 1.2 2005/01/29 21:25:08 dragonheart Exp $

inherit gnuconfig flag-o-matic eutils

DESCRIPTION="a small stealth network autoconfigure software."
SRC_URI="mirror://sourceforge/selfdhcp/${P}.tar.bz2"
HOMEPAGE="http://selfdhcp.sourceforge.net"
KEYWORDS="~x86 ~sparc ~ppc"
IUSE=""
LICENSE="GPL-2"
SLOT="0"

DEPEND="dev-libs/popt
		dev-libs/libxml2
		>=net-libs/libnet-1.0.2
		virtual/libpcap"

src_compile() {
	gnuconfig_update
	econf --sysconfdir=/etc --sbindir=/sbin || die
	emake || die
}

src_install() {
	einstall sbindir=${D}/sbin|| die
	dodoc AUTHORS ChangeLog COPYING INSTALL README TODO
	}