Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 193249 | Differences between
and this patch

Collapse All | Expand All

(-)ocfs2-tools-1.2.1.ebuild (-15 / +7 lines)
Lines 36-61 Link Here
36
src_install() {
36
src_install() {
37
	make DESTDIR="${D}" install || die "Failed to install"
37
	make DESTDIR="${D}" install || die "Failed to install"
38
38
39
	doman \
40
		mkfs.ocfs2/mkfs.ocfs2.8 \
41
		ocfs2cdsl/ocfs2cdsl.8 \
42
		ocfs2console/ocfs2console.8 \
43
		ocfs2_hb_ctl/ocfs2_hb_ctl.8 \
44
		tunefs.ocfs2/tunefs.ocfs2.8
45
	dodoc \
39
	dodoc \
46
		COPYING CREDITS MAINTAINERS README README.O2CB debugfs.ocfs2/README \
40
		COPYING CREDITS MAINTAINERS README README.O2CB debugfs.ocfs2/README \
47
		documentation/users_guide.txt documentation/samples/cluster.conf \
41
		documentation/users_guide.txt documentation/samples/cluster.conf \
48
		"${FILESDIR}"/INSTALL.GENTOO
42
		documentation/ocfs2_faq.txt "${FILESDIR}"/INSTALL.GENTOO \
49
43
		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
44
56
	# Move programs not needed before /usr is mounted to /usr/sbin/
45
	# Move programs not needed before /usr is mounted to /usr/sbin/
46
	mkdir -p "${D}"/usr/sbin
57
	mv "${D}"/sbin/ocfs2cdsl "${D}"/usr/sbin/
47
	mv "${D}"/sbin/ocfs2cdsl "${D}"/usr/sbin/
58
	mv "${D}"/sbin/ocfs2console "${D}"/usr/sbin/
48
	if use X; then
49
		mv "${D}"/sbin/ocfs2console "${D}"/usr/sbin/
50
	fi
59
51
60
	newinitd "${FILESDIR}"/ocfs2.init ocfs2
52
	newinitd "${FILESDIR}"/ocfs2.init ocfs2
61
	newconfd "${FILESDIR}"/ocfs2.conf ocfs2
53
	newconfd "${FILESDIR}"/ocfs2.conf ocfs2
Lines 69-75 Link Here
69
	# FIXME - fix the python lib.
61
	# FIXME - fix the python lib.
70
	# pythonians wouldn't like this probably, but I couldn't find better
62
	# pythonians wouldn't like this probably, but I couldn't find better
71
	# solution.
63
	# solution.
72
	mv "${D}"/lib "${D}"/usr
64
	mv "${D}"/$(get_libdir) "${D}"/usr
73
}
65
}
74
66
75
pkg_postinst() {
67
pkg_postinst() {
76
68

Return to bug 193249