diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-03-28 06:13:08 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-03-28 06:13:08 +0000 |
commit | fbb396f6e2c154027b802be26b4225d6925bf7f7 (patch) | |
tree | 961ca6f758cdde9db0e254397974484ab4bc3a82 /net-misc/udhcp/udhcp-0.9.9_pre20041216-r4.ebuild | |
parent | Fix install path for rcscript addon #172391 by Georgi Georgiev. (diff) | |
download | gentoo-2-fbb396f6e2c154027b802be26b4225d6925bf7f7.tar.gz gentoo-2-fbb396f6e2c154027b802be26b4225d6925bf7f7.tar.bz2 gentoo-2-fbb396f6e2c154027b802be26b4225d6925bf7f7.zip |
Fix install path for rcscript addon #172391 by Georgi Georgiev.
(Portage version: 2.1.2.2)
Diffstat (limited to 'net-misc/udhcp/udhcp-0.9.9_pre20041216-r4.ebuild')
-rw-r--r-- | net-misc/udhcp/udhcp-0.9.9_pre20041216-r4.ebuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net-misc/udhcp/udhcp-0.9.9_pre20041216-r4.ebuild b/net-misc/udhcp/udhcp-0.9.9_pre20041216-r4.ebuild index 527fb4b7d16d..97ff0c02140e 100644 --- a/net-misc/udhcp/udhcp-0.9.9_pre20041216-r4.ebuild +++ b/net-misc/udhcp/udhcp-0.9.9_pre20041216-r4.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/udhcp/udhcp-0.9.9_pre20041216-r4.ebuild,v 1.1 2007/02/23 12:00:10 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/udhcp/udhcp-0.9.9_pre20041216-r4.ebuild,v 1.2 2007/03/28 06:13:08 vapier Exp $ -inherit eutils toolchain-funcs +inherit multilib eutils toolchain-funcs DESCRIPTION="udhcp Server/Client Package" HOMEPAGE="http://udhcp.busybox.net/" @@ -42,7 +42,7 @@ src_compile() { } src_install() { - make STRIP=true install DESTDIR="${D}" USRSBINDIR="${D}/sbin" || die + emake STRIP=true install DESTDIR="${D}" USRSBINDIR="${D}/sbin" || die newinitd "${FILESDIR}"/udhcp.rc udhcp insinto /etc doins samples/udhcpd.conf @@ -52,6 +52,6 @@ src_install() { # udhcpc setup script - the supplied ones don't work # This does it supports resolvconf, metrics and whether to setup # dns, ntp and routers. Requires the --env patch above. - exeinto /lib/rcscripts/sh + exeinto /$(get_libdir)/rcscripts/sh newexe "${FILESDIR}"/udhcpc.sh udhcpc.sh } |