1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 EGIT_REPO_URI="git://git.berlios.de/eix"
7 EGIT_BOOTSTRAP="autogen.sh"
11 inherit autotools git-2 multilib bash-completion-r1
13 DESCRIPTION="Search and query ebuilds, portage incl. local settings, ext. overlays, version changes, and more"
14 HOMEPAGE="http://eix.berlios.de"
19 IUSE="debug +dep doc nls optimization security strong-optimization sqlite tools zsh-completion"
21 RDEPEND="sqlite? ( >=dev-db/sqlite-3 )
22 nls? ( virtual/libintl )
23 zsh-completion? ( !!<app-shells/zsh-completion-20091203-r1 )"
25 doc? ( dev-python/docutils )
29 econf $(use_with sqlite) $(use_with doc extra-doc) \
30 $(use_with zsh-completion) \
31 $(use_enable nls) $(use_enable tools separate-tools) \
32 $(use_enable security) $(use_enable optimization) \
33 $(use_enable strong-optimization) $(use_enable debug debugging) \
34 $(use_with prefix always-accept-keywords) \
35 $(use_with dep dep-default) \
36 --with-ebuild-sh-default="/usr/$(get_libdir)/portage/bin/ebuild.sh" \
37 --with-portage-rootpath="${ROOTPATH}" \
38 --with-eprefix-default="${EPREFIX}" \
39 --docdir="${EPREFIX}/usr/share/doc/${PF}" \
40 --htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
46 keepdir /var/cache/eix
47 fowners portage:portage /var/cache/eix
51 for file in "${EROOT}"/var/cache/eix{,.previous}
53 [ ! -f "${file}" ] && continue
54 rm "${file}" || die "Removing ${file} failed."
59 # src_install zmienia portage na root
60 chown portage:portage "${EROOT}/var/cache/eix"