1) It's better to have it in dev-libs, as it's not an system-wide library, like libc or stdlibc++ 2) Ebuild is broken: subversion and any scm.eclass fetches requested repo into ${S}, so setting S to "${WORKDIR}/trunk" is useless - it will not cd into 'trunk' subdir. Better to append trunk to ESVN_REPO_URI 3) I've moved it for using efl.eclass as whole ebuild seems to duplicate many of it's code.
Signed-off-by: Andrian Nord <nightn...@gmail.com> diff --git a/sys-libs/ememoa/ememoa-9999.ebuild b/sys-libs/ememoa/ememoa-9999.ebuild index 8b31bfe..b96ec31 100644 --- a/sys-libs/ememoa/ememoa-9999.ebuild +++ b/sys-libs/ememoa/ememoa-9999.ebuild @@ -4,64 +4,50 @@ EAPI="2" -inherit eutils +E_EXTERNAL="yes" +E_NO_NLS="yes" +E_NO_DOC="yes" +inherit subversion efl + +ESVN_REPO_URI="http://ememoa.googlecode.com/svn/trunk" DESCRIPTION="Fast memory pool allocator" HOMEPAGE="http://code.google.com/p/ememoa/" LICENSE="BSD" SLOT="0" -IUSE="debug doc threads" - -if [[ "${PV}" == "9999" ]]; then - inherit subversion autotools - - SRC_URI="" - ESVN_REPO_URI="http://ememoa.googlecode.com/svn" - S="${WORKDIR}/trunk" - KEYWORDS="" -else +if [[ "${PV}" != "9999" ]]; then KEYWORDS="~amd64 ~x86" - # TODO: project did not release any tarball or snapshot! fi +IUSE="doc threads" + RDEPEND="" DEPEND=" dev-util/pkgconfig doc? ( app-doc/doxygen )" -src_prepare() { - [[ "${PV}" == "9999" ]] && eautoreconf - epunt_cxx - elibtoolize -} - src_configure() { - if use debug; then - if ! hasq nostrip $FEATURES && ! hasq splitdebug $FEATURES; then - ewarn "Compiling with USE=debug but portage will strip binaries!" - ewarn "Please use portage FEATURES=nostrip or splitdebug" - ewarn "See http://www.gentoo.org/proj/en/qa/backtraces.xml" - fi - fi - - export MY_ECONF=" - --disable-static - $(use_enable debug) + MY_ECONF=" $(use_enable threads pthread) " + use doc || MY_ECONF+=" DOXYGEN=/bin/true" - if ! use doc; then - export MY_ECONF="${MY_ECONF} DOXYGEN=/bin/true" - fi - econf "${MY_ECONF}" || die "econf failed" + efl_src_configure } src_compile() { - emake || die "emake failed" + efl_src_compile if use doc; then (cd doc && doxygen doc.doxy) || die "doxygen doc.doxy" - dohtml doc/doxygen_html/* + fi +} + +src_install() { + efl_src_install + + if use doc; then + dohtml doc/doxygen_html/* || die "docs install failed" fi } ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel