/[gentoo-x86]/app-portage/eix/eix-0.25.5.ebuild
Gentoo

Contents of /app-portage/eix/eix-0.25.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Wed Jul 25 01:49:53 2012 UTC (10 months, 3 weeks ago) by jer
Branch: MAIN
Changes since 1.5: +2 -2 lines
Stable for HPPA (bug #427100).

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 darkside 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 jer 1.6 # $Header: /var/cvsroot/gentoo-x86/app-portage/eix/eix-0.25.5.ebuild,v 1.5 2012/07/23 20:50:49 maekke Exp $
4 darkside 1.1
5     EAPI=4
6    
7     inherit multilib bash-completion-r1
8    
9     DESCRIPTION="Search and query ebuilds, portage incl. local settings, ext. overlays, version changes, and more"
10     HOMEPAGE="http://eix.berlios.de"
11     SRC_URI="mirror://berlios/${PN}/${P}.tar.xz"
12    
13     LICENSE="GPL-2"
14     SLOT="0"
15 jer 1.6 KEYWORDS="~alpha ~amd64 arm hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris"
16 darkside 1.1 IUSE="debug +dep doc nls optimization security strong-optimization sqlite tools zsh-completion"
17    
18     RDEPEND="app-shells/push
19     sqlite? ( >=dev-db/sqlite-3 )
20     nls? ( virtual/libintl )"
21     DEPEND="${RDEPEND}
22     app-arch/xz-utils
23     nls? ( sys-devel/gettext )"
24    
25     pkg_setup() {
26     if has_version "<${CATEGORY}/${PN}-0.25.3"; then
27     local eixcache="${EROOT}"/var/cache/${PN}
28     [[ -f ${eixcache} ]] && rm -f "${eixcache}"
29     fi
30     }
31    
32     src_configure() {
33     econf $(use_with sqlite) $(use_with doc extra-doc) \
34     $(use_with zsh-completion) \
35     $(use_enable nls) $(use_enable tools separate-tools) \
36     $(use_enable security) $(use_enable optimization) \
37     $(use_enable strong-optimization) $(use_enable debug debugging) \
38     $(use_with prefix always-accept-keywords) \
39     $(use_with dep dep-default) \
40     --with-ebuild-sh-default="/usr/$(get_libdir)/portage/bin/ebuild.sh" \
41     --with-portage-rootpath="${ROOTPATH}" \
42     --with-eprefix-default="${EPREFIX}" \
43     --docdir="${EPREFIX}/usr/share/doc/${PF}" \
44     --htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
45     }
46    
47     src_install() {
48     default
49     dobashcomp bash/eix
50     keepdir "/var/cache/${PN}"
51     fowners portage:portage "/var/cache/${PN}"
52     fperms 775 "/var/cache/${PN}"
53     }
54    
55     pkg_postinst() {
56     # fowners in src_install doesn't work for owner/group portage:
57     # merging changes this owner/group back to root.
58     use prefix || chown portage:portage "${EROOT}var/cache/${PN}"
59     local obs="${EROOT}var/cache/eix.previous"
60     ! test -f "${obs}" || ewarn "Found obsolete ${obs}, please remove it"
61     }

  ViewVC Help
Powered by ViewVC 1.1.20