/[gentoo-x86]/sys-fs/gfs2-utils/gfs2-utils-3.1.2.ebuild
Gentoo

Contents of /sys-fs/gfs2-utils/gfs2-utils-3.1.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri May 4 19:09:18 2012 UTC (2 years, 2 months ago) by jdhore
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-fs/gfs2-utils/gfs2-utils-3.1.2.ebuild,v 1.1 2011/09/14 10:54:10 ultrabug Exp $
4
5 EAPI=4
6
7 inherit autotools linux-info
8
9 DESCRIPTION="GFS2 Utilities"
10 HOMEPAGE="https://fedorahosted.org/cluster/wiki/HomePage"
11 SRC_URI="https://fedorahosted.org/releases/${PN:0:1}/${PN:1:1}/${PN}/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="debug"
17
18 RDEPEND="sys-cluster/corosync
19 sys-cluster/openais
20 sys-cluster/liblogthread
21 sys-cluster/libccs
22 sys-cluster/libfence
23 sys-cluster/libdlm
24 sys-libs/ncurses"
25 DEPEND="${RDEPEND}
26 virtual/pkgconfig"
27
28 S="${WORKDIR}/${PN}"
29
30 src_prepare() {
31 mkdir m4
32 eautoreconf
33 }
34
35 src_configure() {
36 econf \
37 $(use_enable debug) \
38 --with-kernel="${KERNEL_DIR}" \
39 --localstatedir=/var
40 }
41
42 src_install() {
43 default
44 rm -rf "${D}/usr/share/doc"
45 dodoc doc/*.txt
46
47 rmdir "${D}"/var/run/{cluster,} # cman-init.d creates it
48
49 keepdir /var/{lib,log}/cluster
50 }

  ViewVC Help
Powered by ViewVC 1.1.20