]> git.bzium.org/ - embe/overlay.git/blob - app-portage/eix/eix-9999.ebuild
0093a53c6cf34c67a5cc1a84cfc3adc7db36740a
[embe/overlay.git] / app-portage / eix / eix-9999.ebuild
1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3
4 EAPI=4
5
6 ESVN_REPO_URI="https://svn.gentooexperimental.org/eix/trunk/"
7 ESVN_BOOTSTRAP="./autogen.sh"
8
9 WANT_AUTOMAKE="1.11"
10
11 inherit autotools multilib subversion bash-completion-r1
12
13 DESCRIPTION="Search and query ebuilds, portage incl. local settings, ext. overlays, version changes, and more"
14 HOMEPAGE="http://eix.berlios.de"
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS=""
19 IUSE="debug doc nls optimization security strong-optimization sqlite tools zsh-completion"
20
21 RDEPEND="sqlite? ( >=dev-db/sqlite-3 )
22         nls? ( virtual/libintl )
23         zsh-completion? ( !!<app-shells/zsh-completion-20091203-r1 )"
24 DEPEND="${RDEPEND}
25         doc? ( dev-python/docutils )
26         sys-devel/gettext"
27
28 src_configure() {
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                 --with-ebuild-sh-default="/usr/$(get_libdir)/portage/bin/ebuild.sh" \
36                 --with-portage-rootpath="${ROOTPATH}" \
37                 --with-eprefix-default="${EPREFIX}" \
38                 --docdir="${EPREFIX}/usr/share/doc/${PF}" \
39                 --htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
40 }
41
42 src_install() {
43         default
44         dobashcomp bash/eix
45 }