/[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.10 - (hide annotations) (download)
Mon Sep 23 19:20:29 2013 UTC (6 years, 10 months ago) by ago
Branch: MAIN
Changes since 1.9: +2 -2 lines
Stable for sparc, wrt bug #480094

(Portage version: 2.1.12.2/cvs/Linux ppc64, RepoMan options: --include-arches="sparc", signed Manifest commit with key 7194459F)

1 pacho 1.1 # Copyright 1999-2013 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ago 1.10 # $Header: /var/cvsroot/gentoo-x86/net-nds/rpcbind/rpcbind-0.2.0-r1.ebuild,v 1.9 2013/09/14 10:57:45 ago 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 ago 1.10 KEYWORDS="alpha amd64 arm 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     RDEPEND="net-libs/libtirpc
27     selinux? ( sec-policy/selinux-rpcbind )
28     tcpd? ( sys-apps/tcp-wrappers )"
29     DEPEND="${RDEPEND}
30     virtual/pkgconfig"
31    
32     src_prepare() {
33     if [[ ${PV} == "9999" ]] ; then
34     eautoreconf
35     else
36     sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.in || die #467018
37     epatch "${FILESDIR}"/${P}-pkgconfig.patch
38     epatch "${FILESDIR}"/${P}-no-nss.patch
39     eautoreconf
40     fi
41     }
42    
43     src_configure() {
44     econf \
45     --bindir=/sbin \
46     $(use_enable tcpd libwrap)
47     }
48    
49     src_install() {
50     emake DESTDIR="${D}" install || die
51     doman man/rpc{bind,info}.8
52     dodoc AUTHORS ChangeLog NEWS README
53     newinitd "${FILESDIR}"/rpcbind.initd rpcbind || die
54     newconfd "${FILESDIR}"/rpcbind.confd rpcbind || die
55     systemd_dounit "${FILESDIR}"/rpcbind.service
56     }

  ViewVC Help
Powered by ViewVC 1.1.20