/[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.4 - (show annotations) (download)
Tue Sep 10 19:07:53 2013 UTC (6 years, 11 months ago) by maekke
Branch: MAIN
Changes since 1.3: +2 -2 lines
arm stable, bug #480094

(Portage version: 2.2.1/cvs/Linux x86_64, RepoMan options: --include-arches="arm", signed Manifest commit with key 072AD062)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-nds/rpcbind/rpcbind-0.2.0-r1.ebuild,v 1.3 2013/09/09 18:12:40 jer Exp $
4
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 KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
17 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