Line
Link Here
|
0 |
-- ocfs2-tools-1.2.1.ebuild 2008-01-08 14:07:40.000000000 +0300 |
0 |
++ ocfs2-tools-1.2.7.ebuild 2008-01-08 14:32:15.000000000 +0300 |
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 |
inherit eutils |
5 |
|
4 |
PV_MAJOR="${PV%%.*}" |
6 |
PV_MAJOR="${PV%%.*}" |
5 |
PV_MINOR="${PV#*.}" |
7 |
PV_MINOR="${PV#*.}" |
6 |
PV_MINOR="${PV_MINOR%%.*}" |
8 |
PV_MINOR="${PV_MINOR%%.*}" |
Lines 41-57
Link Here
|
41 |
ocfs2cdsl/ocfs2cdsl.8 \ |
43 |
ocfs2cdsl/ocfs2cdsl.8 \ |
42 |
ocfs2console/ocfs2console.8 \ |
44 |
ocfs2console/ocfs2console.8 \ |
43 |
ocfs2_hb_ctl/ocfs2_hb_ctl.8 \ |
45 |
ocfs2_hb_ctl/ocfs2_hb_ctl.8 \ |
44 |
tunefs.ocfs2/tunefs.ocfs2.8 |
46 |
tunefs.ocfs2/tunefs.ocfs2.8 \ |
|
|
47 |
debugfs.ocfs2/debugfs.ocfs2.8 \ |
48 |
fsck.ocfs2/fsck.ocfs2.8 \ |
49 |
fsck.ocfs2/fsck.ocfs2.checks.8 \ |
50 |
mount.ocfs2/mount.ocfs2.8 \ |
51 |
mounted.ocfs2/mounted.ocfs2.8 \ |
52 |
o2cb_ctl/o2cb_ctl.8 |
45 |
dodoc \ |
53 |
dodoc \ |
46 |
COPYING CREDITS MAINTAINERS README README.O2CB debugfs.ocfs2/README \ |
54 |
COPYING CREDITS MAINTAINERS README README.O2CB debugfs.ocfs2/README \ |
47 |
documentation/users_guide.txt documentation/samples/cluster.conf \ |
55 |
documentation/users_guide.txt documentation/samples/cluster.conf \ |
48 |
"${FILESDIR}"/INSTALL.GENTOO |
56 |
documentation/ocfs2_faq.txt "${FILESDIR}"/INSTALL.GENTOO \ |
49 |
|
57 |
vendor/common/o2cb.init vendor/common/o2cb.sysconfig |
50 |
# Keep o2cb script in case someone needs it |
|
|
51 |
insinto /usr/sbin |
52 |
newins "${S}"/vendor/common/o2cb.init o2cb |
53 |
insinto /etc/default |
54 |
newins "${S}"/vendor/common/o2cb.sysconfig o2cb |
55 |
# Move programs not needed before /usr is mounted to /usr/sbin/ |
58 |
# Move programs not needed before /usr is mounted to /usr/sbin/ |
56 |
mv "${D}"/sbin/ocfs2cdsl "${D}"/usr/sbin/ |
59 |
mv "${D}"/sbin/ocfs2cdsl "${D}"/usr/sbin/ |
Lines 69-75
Link Here
|
69 |
# FIXME - fix the python lib. |
72 |
# FIXME - fix the python lib. |
70 |
# pythonians wouldn't like this probably, but I couldn't find better |
73 |
# pythonians wouldn't like this probably, but I couldn't find better |
71 |
# solution. |
74 |
# solution. |
72 |
mv "${D}"/lib "${D}"/usr |
75 |
mv "${D}"/$(get_libdir) "${D}"/usr |
73 |
} |
76 |
} |
74 |
pkg_postinst() { |
77 |
pkg_postinst() { |