/[gentoo-x86]/net-misc/udhcp/udhcp-0.9.9_pre20041216.ebuild
Gentoo

Contents of /net-misc/udhcp/udhcp-0.9.9_pre20041216.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed Jun 29 14:27:41 2005 UTC (14 years, 5 months ago) by uberlord
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Install udhcpd in /sbin instead of /usr/sbin so we don't break baselayout
(Portage version: 2.0.51.19)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/udhcp/udhcp-0.9.9_pre20041216.ebuild,v 1.4 2005/06/28 13:19:47 gustavoz Exp $
4
5 inherit eutils toolchain-funcs
6
7 DESCRIPTION="udhcp Server/Client Package"
8 HOMEPAGE="http://udhcp.busybox.net/"
9 SRC_URI="mirror://gentoo/${P}.tar.bz2"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~mips ~ppc sparc x86"
14 IUSE=""
15
16 DEPEND="virtual/libc"
17 PROVIDE="virtual/dhcpc"
18
19 S=${WORKDIR}/${PN}
20
21 pkg_setup() {
22 enewgroup dhcp
23 enewuser dhcp -1 /bin/false /var/lib/dhcp dhcp
24 }
25
26 src_compile() {
27 emake \
28 CROSS_COMPILE=${CHOST}- \
29 STRIP=true \
30 UDHCP_SYSLOG=1 \
31 || die
32 }
33
34 src_install() {
35 make STRIP=true install DESTDIR="${D}" || die
36 newinitd "${FILESDIR}"/udhcp.rc udhcp
37 insinto /etc
38 doins samples/udhcpd.conf
39 dodoc AUTHORS ChangeLog README* TODO
40 newdoc samples/README README.scripts
41 }

  ViewVC Help
Powered by ViewVC 1.1.20