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

Collapse All | Expand All

(-)openoffice-3.2.0.ebuild (-7 / +7 lines)
Lines 3-9 Link Here
3
# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-3.2.0.ebuild,v 1.29 2010/11/07 19:45:55 anarchy Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-3.2.0.ebuild,v 1.29 2010/11/07 19:45:55 anarchy Exp $
4
4
5
WANT_AUTOMAKE="1.9"
5
WANT_AUTOMAKE="1.9"
6
EAPI="2"
6
EAPI="3"
7
KDE_REQUIRED="optional"
7
KDE_REQUIRED="optional"
8
CMAKE_REQUIRED="never"
8
CMAKE_REQUIRED="never"
9
PYTHON_DEPEND="2"
9
PYTHON_DEPEND="2"
Lines 361-381 Link Here
361
	export PYTHONPATH=""
361
	export PYTHONPATH=""
362
362
363
	einfo "Preparing Installation"
363
	einfo "Preparing Installation"
364
	make DESTDIR="${D}" install || die "Installation failed!"
364
	make DESTDIR="${ED}" install || die "Installation failed!"
365
365
366
	# Fix the permissions for security reasons
366
	# Fix the permissions for security reasons
367
	chown -RP root:0 "${D}"
367
	chown -RP root:0 "${ED}"
368
368
369
	# record java libraries
369
	# record java libraries
370
	if use java; then
370
	if use java; then
371
			java-pkg_regjar "${D}"/usr/$(get_libdir)/openoffice/${BASIS}/program/classes/*.jar
371
			java-pkg_regjar "${ED}"/usr/$(get_libdir)/openoffice/${BASIS}/program/classes/*.jar
372
			java-pkg_regjar "${D}"/usr/$(get_libdir)/openoffice/ure/share/java/*.jar
372
			java-pkg_regjar "${ED}"/usr/$(get_libdir)/openoffice/ure/share/java/*.jar
373
	fi
373
	fi
374
374
375
	# Upstream places the bash-completion module in /etc. Gentoo places them in
375
	# Upstream places the bash-completion module in /etc. Gentoo places them in
376
	# /usr/share/bash-completion. bug 226061
376
	# /usr/share/bash-completion. bug 226061
377
	dobashcompletion "${D}"/etc/bash_completion.d/ooffice.sh ooffice
377
	dobashcompletion "${ED}"/etc/bash_completion.d/ooffice.sh ooffice
378
	rm -rf "${D}"/etc/bash_completion.d/ || die "rm failed"
378
	rm -rf "${ED}"/etc/bash_completion.d/ || die "rm failed"
379
379
380
}
380
}
381
381

Return to bug 353035