blob: 136d4c9f7cf884e444ae8cf0470356dabde52d3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/ocfs-tools/ocfs-tools-1.1.2.ebuild,v 1.1 2005/03/10 15:21:49 xmerlin Exp $
inherit flag-o-matic eutils
DESCRIPTION="Support programs for the Oracle Cluster Filesystem v1 and v2"
HOMEPAGE="http://oss.oracle.com/projects/ocfs/"
SRC_URI="http://oss.oracle.com/projects/ocfs-tools/dist/files/source/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~x86"
IUSE="gtk"
DEPEND="virtual/libc
sys-kernel/linux-headers
gtk? (
>=dev-libs/glib-2.4.0
>=x11-libs/gtk+-1.2.8
)"
RDEPEND="virtual/libc
gtk? (
>=dev-libs/glib-2.4.0
>=x11-libs/gtk+-1.2.8
)"
src_unpack() {
unpack ${P}.tar.gz
cd ${S}
# glib patch (if you build ocfs-tools without X apps)
epatch ${FILESDIR}/ocfs-tools-glib.patch || die "glib patch did not apply"
}
src_compile() {
local myconf=""
use gtk && myconf="${myconf} --enable-ocfstool=yes" || \
myconf="${myconf} --enable-ocfstool=no --disable-gtktest"
econf --prefix=/ \
${myconf} \
|| die "Failed to configure"
emake -j1 || die "Failed to compile"
}
src_install() {
einstall || die "Failed to install"
## NEED TO BE FIXED -> it lacks a proper init
doman format/mkfs.ocfs.8
dodoc COPYING README debugocfs/debugocfs.txt bugfix/bug*-README.txt
}
|