Please update elektra to latest version. They switched the buildsystem to cmake. The SRC_URI changed now it is not PN/P but PN/releases/P.
Current version: 0.8.3
Created attachment 327578 [details] elektra-0.8.3.ebuild Turns out I'd give it a try. Find attached my first try at an ebuild for cmake-based elektra-0.8.3. What works not: - man files are installed in wrong location, but at least that way there is no file collision with sys-apps/man-pages (.../man3/err.3) - build with USE="yajl" currently errors out - media-libs/oyranos-0.4.0 won't build against that version. hopefully 0.9 will have sorted that out
Wrong: s/elektra-api/elektra-${PV} Correct: s/elektra-api/elektra-${PF} ;; Wrong: PLUGINS="${PLUGINS};doc" Correct: PLUGINS+=";doc" ;; And also define the plugins as local variable for configure scope.
And you lack quotes over $S and die on that sed
Created attachment 327972 [details, diff] elektra-0.8.3.ebuild.diff Second attempt: - fixed quotation and PLUGIN var - moar USE-flags - yajl plugin only builds with <dev-libs/yajl-2 - two patches to fix QA issues related to yail plugin - man files renaming inspired by media-libs/allegro ebuild - couldn't find a better way around the original man file location as to simply delete it after install... Submitting this as patch over the old one. Plus: I already had a successful oyranos-0.9.0 (released yesterday) build against elektra-0.8.3 with a slightly altered oyranos-0.4.0.ebuild.
Created attachment 327974 [details, diff] elektra-0.8.3-fix-yajl-if-user-config.patch
Created attachment 327976 [details, diff] elektra-0.8.3-introduce-attributes.patch
Thanks for the contribution, I look into it tomorrow morning.
Created attachment 328012 [details, diff] elektra-0.8.3.ebuild-r1.diff fixes stupid duplicate USE flag
+*elektra-0.8.3 (04 Nov 2012) + + 04 Nov 2012; Michael Weber <xmw@gentoo.org> +elektra-0.8.3.ebuild, + +files/elektra-0.8.3-fix-yajl-if-user-config.patch, + +files/elektra-0.8.3-introduce-attributes.patch: + Version bump, big thanks to Andreas Sturmlechner doing all the work on bug + 429722.
@Andreas: Do you know a current homepage/website of this project? the HOMEPAGE variable points to an outdated sourceforge page.
markus-raab.org links to www.libelektra.org which currently forwards to http://freedesktop.org/wiki/Software/Elektra thx for credits :)
+ 04 Nov 2012; Michael Weber <xmw@gentoo.org> elektra-0.7.1-r2.ebuild, + elektra-0.8.3.ebuild: + Update HOMEPAGE
I looked at the in-portage ebuild again and noticed that it still contains the duplicate 'simpleini' flag (which doesn't do anything).