Lines 2-7
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-fs/ocfs2-tools/ocfs2-tools-1.2.1.ebuild,v 1.3 2007/06/26 02:53:50 mr_bones_ Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sys-fs/ocfs2-tools/ocfs2-tools-1.2.1.ebuild,v 1.3 2007/06/26 02:53:50 mr_bones_ Exp $ |
4 |
|
4 |
|
|
|
5 |
inherit eutils |
6 |
|
5 |
PV_MAJOR="${PV%%.*}" |
7 |
PV_MAJOR="${PV%%.*}" |
6 |
PV_MINOR="${PV#*.}" |
8 |
PV_MINOR="${PV#*.}" |
7 |
PV_MINOR="${PV_MINOR%%.*}" |
9 |
PV_MINOR="${PV_MINOR%%.*}" |
Lines 10-16
Link Here
|
10 |
SRC_URI="http://oss.oracle.com/projects/ocfs2-tools/dist/files/source/v${PV_MAJOR}.${PV_MINOR}/${P}.tar.gz" |
12 |
SRC_URI="http://oss.oracle.com/projects/ocfs2-tools/dist/files/source/v${PV_MAJOR}.${PV_MINOR}/${P}.tar.gz" |
11 |
LICENSE="GPL-2" |
13 |
LICENSE="GPL-2" |
12 |
SLOT="0" |
14 |
SLOT="0" |
13 |
KEYWORDS="~x86" |
15 |
KEYWORDS="~amd64 ~x86" |
14 |
IUSE="X" |
16 |
IUSE="X" |
15 |
# (#142216) build system's broke, always requires glib for debugfs utility |
17 |
# (#142216) build system's broke, always requires glib for debugfs utility |
16 |
RDEPEND="X? ( |
18 |
RDEPEND="X? ( |
Lines 23-28
Link Here
|
23 |
DEPEND="${RDEPEND}" |
25 |
DEPEND="${RDEPEND}" |
24 |
|
26 |
|
25 |
src_compile() { |
27 |
src_compile() { |
|
|
28 |
|
29 |
epatch ${FILESDIR}/page-h.patch |
30 |
|
26 |
local myconf="--enable-dynamic-fsck --enable-dynamic-ctl" |
31 |
local myconf="--enable-dynamic-fsck --enable-dynamic-ctl" |
27 |
|
32 |
|
28 |
econf --prefix=${ROOT} \ |
33 |
econf --prefix=${ROOT} \ |
Lines 69-75
Link Here
|
69 |
# FIXME - fix the python lib. |
74 |
# FIXME - fix the python lib. |
70 |
# pythonians wouldn't like this probably, but I couldn't find better |
75 |
# pythonians wouldn't like this probably, but I couldn't find better |
71 |
# solution. |
76 |
# solution. |
72 |
mv "${D}"/lib "${D}"/usr |
77 |
mv "${D}"/$(get_libdir) "${D}"/usr |
73 |
} |
78 |
} |
74 |
|
79 |
|
75 |
pkg_postinst() { |
80 |
pkg_postinst() { |