/[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.12 - (hide annotations) (download)
Sat Jan 18 04:53:00 2014 UTC (6 years, 6 months ago) by vapier
Branch: MAIN
Changes since 1.11: +2 -2 lines
Add arm64 love.

(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

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 vapier 1.12 # $Header: /var/cvsroot/gentoo-x86/net-nds/rpcbind/rpcbind-0.2.0-r1.ebuild,v 1.11 2014/01/16 19:29:35 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     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