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

Collapse All | Expand All

(-)a/elektra-0.7.1-r2.ebuild (-5 / +7 lines)
Lines 4-10 Link Here
4
4
5
EAPI=4
5
EAPI=4
6
6
7
inherit autotools eutils
7
inherit autotools eutils multilib
8
8
9
DESCRIPTION="universal and secure framework to store config parameters in a hierarchical key-value pair mechanism"
9
DESCRIPTION="universal and secure framework to store config parameters in a hierarchical key-value pair mechanism"
10
HOMEPAGE="http://freedesktop.org/wiki/Software/Elektra"
10
HOMEPAGE="http://freedesktop.org/wiki/Software/Elektra"
Lines 59-71 Link Here
59
59
60
	local my_f=""
60
	local my_f=""
61
	#avoid collision with kerberos (bug 403025)
61
	#avoid collision with kerberos (bug 403025)
62
	mkdir "${D}"/usr/include/elektra
62
	for my_f in kdb kdbbackend.h kdbos.h kdbtools.h keyset kdb.h \
63
	for my_f in kdb kdbbackend.h kdbos.h kdbtools.h keyset kdb.h \
63
		kdbloader.h kdbprivate.h key ; do
64
		kdbloader.h kdbprivate.h key ; do
64
		mv "${D}"/usr/include/{,elektra-}"${my_f}" || die
65
		mv "${D}"/usr/include/{,elektra\/}"${my_f}" || die
65
		elog "/usr/include/${my_f} installed as elektra-${my_f}"
66
		elog "/usr/include/${my_f} installed as elektra/${my_f}"
66
	done
67
	done
67
	sed -e '/^#include/s:kdbos.h:elektra-kdbos.h:' \
68
	#alter pc files
68
		-i "${D}"/usr/include/elektra-kdb.h || die
69
	sed -e '/^includedir/s/$/\/elektra/' -i "${D}"/usr/$(get_libdir)/pkgconfig/elektra*.pc || die
70
	sed -e '/^Cflags/s/$/\/elektra/' -i "${D}"/usr/$(get_libdir)/pkgconfig/elektra*.pc || die
69
71
70
	#avoid collision with allegro (bug 409305)
72
	#avoid collision with allegro (bug 409305)
71
	for my_f in $(find "${D}"/usr/share/man/man3 -name "key.3*") ; do
73
	for my_f in $(find "${D}"/usr/share/man/man3 -name "key.3*") ; do

Return to bug 447246