/[gentoo-x86]/net-misc/netifrc/netifrc-9999.ebuild
Gentoo

Diff of /net-misc/netifrc/netifrc-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/netifrc/netifrc-9999.ebuild,v 1.1 2013/08/14 06:37:32 williamh Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/netifrc/netifrc-9999.ebuild,v 1.2 2013/08/20 19:41:46 williamh Exp $
4 4
5EAPI=5 5EAPI=5
6 6
7inherit eutils 7inherit eutils
8 8
21SLOT="0" 21SLOT="0"
22IUSE="" 22IUSE=""
23 23
24DEPEND="" 24DEPEND=""
25RDEPEND=">=sys-apps/openrc-0.12 25RDEPEND=">=sys-apps/openrc-0.12
26!<sys-apps/openrc-0.12" 26 !<sys-apps/openrc-0.12"
27 27
28src_prepare() { 28src_prepare() {
29 sed -i 's:0444:0644:' mk/sys.mk || die 29 sed -i 's:0444:0644:' mk/sys.mk || die
30 sed -i "/^DIR/s:/${PN}:/${PF}:" doc/Makefile || die #241342 30 sed -i "/^DIR/s:/${PN}:/${PF}:" doc/Makefile || die #241342
31 31
48} 48}
49 49
50src_install() { 50src_install() {
51 emake ${MAKE_ARGS} DESTDIR="${D}" install 51 emake ${MAKE_ARGS} DESTDIR="${D}" install
52} 52}
53
54pkg_postinst() {
55 if [[ ! -e "${EROOT}"/etc/conf.d/net && -z $REPLACING_VERSIONS ]]; then
56 elog "The network configuration scripts will use dhcp by"
57 elog "default to set up your interfaces."
58 elog "If you need to set up something more complete, see"
59 elog "${EROOT}/usr/share/doc/${P}/README"
60 fi
61}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20