View | Details | Raw Unified
Collapse All | Expand All

(-) /home/ka0ttic/gentoo-x86/dev-cpp/libxmlpp/libxmlpp-2.8.0.ebuild (-1 / +12 lines)
 Lines 4-10    Link Here 
IUSE="doc"
IUSE="doc"
inherit gnome2
inherit gnome2 eutils
MY_P=${P/pp/++}
MY_P=${P/pp/++}
S=${WORKDIR}/${MY_P}
S=${WORKDIR}/${MY_P}
 Lines 26-31    Link Here 
MAKEOPTS="${MAKEOPTS} -j1"
MAKEOPTS="${MAKEOPTS} -j1"
src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/${P}-use-correct-callback.diff
	# don't waste time building the examples
	sed -i 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' Makefile.in || \
		die "sed Makefile.in failed"
}
src_compile() {
src_compile() {
	gnome2_src_compile
	gnome2_src_compile
	if use doc ; then
	if use doc ; then
 Lines 36-41    Link Here 
src_install() {
src_install() {
	gnome2_src_install
	gnome2_src_install
	rm -fr ${D}/usr/share/doc/libxml++*
	use doc && dohtml docs/reference/${PV%.*}/html/*
	use doc && dohtml docs/reference/${PV%.*}/html/*
}
}