/[gentoo-x86]/net-libs/xrootd/xrootd-3.3.6.ebuild
Gentoo

Contents of /net-libs/xrootd/xrootd-3.3.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Mar 25 13:40:21 2015 UTC (5 years, 8 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Stable for x86, wrt bug #541580

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/xrootd-3.3.6.ebuild,v 1.3 2015/02/28 19:30:46 ago Exp $
4
5 EAPI=5
6
7 inherit cmake-utils eutils user multilib
8
9 DURI="http://xrootd.slac.stanford.edu/doc/prod"
10
11 DESCRIPTION="Extended ROOT remote file server"
12 HOMEPAGE="http://xrootd.org/"
13 SRC_URI="${HOMEPAGE}/download/v${PV}/${P}.tar.gz"
14
15 LICENSE="LGPL-3"
16 SLOT="0"
17 KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
18 IUSE="doc fuse kerberos perl readline ssl test"
19
20 RDEPEND="
21 !<sci-physics/root-5.32[xrootd]
22 sys-libs/zlib:0=
23 fuse? ( sys-fs/fuse )
24 kerberos? ( virtual/krb5 )
25 perl? (
26 dev-lang/perl
27 readline? ( dev-perl/Term-ReadLine-Perl )
28 )
29 readline? ( sys-libs/readline:0= )
30 ssl? ( dev-libs/openssl:= )"
31 DEPEND="${RDEPEND}
32 doc? ( app-doc/doxygen[dot] )
33 perl? ( dev-lang/swig )
34 test? ( dev-util/cppunit )"
35
36 pkg_setup() {
37 enewgroup xrootd
38 enewuser xrootd -1 -1 "${EPREFIX}"/var/spool/xrootd xrootd
39 }
40
41 src_configure() {
42 local mycmakeargs=(
43 $(cmake-utils_use_enable fuse)
44 $(cmake-utils_use_enable kerberos KRB5)
45 $(cmake-utils_use_enable perl)
46 $(cmake-utils_use_enable readline)
47 $(cmake-utils_use_enable ssl CRYPTO)
48 $(cmake-utils_use_enable test TESTS)
49 )
50 cmake-utils_src_configure
51 }
52
53 src_compile() {
54 cmake-utils_src_compile
55 use doc && doxygen Doxyfile
56 }
57
58 src_install() {
59 cmake-utils_src_install
60
61 # base configs
62 insinto /etc/xrootd
63 doins packaging/common/*.cfg
64
65 fowners root:xrootd /etc/xrootd
66 keepdir /var/log/xrootd
67 fowners xrootd:xrootd /var/log/xrootd
68
69 local i
70 for i in cmsd frm_purged frm_xfrd xrootd; do
71 newinitd "${FILESDIR}"/${i}.initd ${i}
72 done
73 # all daemons MUST use single master config file
74 newconfd "${FILESDIR}"/xrootd.confd xrootd
75
76 dodoc docs/ReleaseNotes.txt
77 use doc && dohtml -r doxydoc/html/*
78 }

  ViewVC Help
Powered by ViewVC 1.1.20