/[gentoo-x86]/net-nds/rpcbind/rpcbind-0.2.0-r1.ebuild
Gentoo

Contents of /net-nds/rpcbind/rpcbind-0.2.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (hide annotations) (download)
Sun Nov 2 09:27:00 2014 UTC (5 years, 9 months ago) by swift
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +6 -5 lines
Remove sec-policy/selinux-* dependency from DEPEND but keep in RDEPEND (bug #527698)

(Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0x2EDD52403B68AF47)

1 vapier 1.11 # Copyright 1999-2014 Gentoo Foundation
2 pacho 1.1 # Distributed under the terms of the GNU General Public License v2
3 swift 1.13 # $Header: /var/cvsroot/gentoo-x86/net-nds/rpcbind/rpcbind-0.2.0-r1.ebuild,v 1.12 2014/01/18 04:53:00 vapier Exp $
4 pacho 1.1
5     EAPI="2"
6    
7     inherit autotools eutils systemd
8    
9     if [[ ${PV} == "9999" ]] ; then
10     EGIT_REPO_URI="git://git.infradead.org/~steved/rpcbind.git"
11     inherit autotools eutils git-2
12     SRC_URI=""
13     #KEYWORDS=""
14     else
15     SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
16 vapier 1.12 KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
17 pacho 1.1 fi
18    
19     DESCRIPTION="portmap replacement which supports RPC over various protocols"
20     HOMEPAGE="http://sourceforge.net/projects/rpcbind/"
21    
22     LICENSE="BSD"
23     SLOT="0"
24     IUSE="selinux tcpd"
25    
26 swift 1.13 CDEPEND="net-libs/libtirpc
27 pacho 1.1 tcpd? ( sys-apps/tcp-wrappers )"
28 swift 1.13 DEPEND="${CDEPEND}
29 pacho 1.1 virtual/pkgconfig"
30 swift 1.13 RDEPEND="${CDEPEND}
31     selinux? ( sec-policy/selinux-rpcbind )
32     "
33 pacho 1.1 src_prepare() {
34     if [[ ${PV} == "9999" ]] ; then
35     eautoreconf
36     else
37     sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.in || die #467018
38     epatch "${FILESDIR}"/${P}-pkgconfig.patch
39     epatch "${FILESDIR}"/${P}-no-nss.patch
40     eautoreconf
41     fi
42     }
43    
44     src_configure() {
45     econf \
46     --bindir=/sbin \
47     $(use_enable tcpd libwrap)
48     }
49    
50     src_install() {
51     emake DESTDIR="${D}" install || die
52     doman man/rpc{bind,info}.8
53     dodoc AUTHORS ChangeLog NEWS README
54     newinitd "${FILESDIR}"/rpcbind.initd rpcbind || die
55     newconfd "${FILESDIR}"/rpcbind.confd rpcbind || die
56     systemd_dounit "${FILESDIR}"/rpcbind.service
57     }

  ViewVC Help
Powered by ViewVC 1.1.20