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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Tue Jul 24 13:54:22 2012 UTC (4 years, 1 month ago) by darkside
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Version bump from upstream for bug fixes (closes Gentoo bugs 425512, 426256, 427644)

(Portage version: 2.1.10.65/cvs/Linux i686)

1 darkside 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 darkside 1.4 # $Header: /var/cvsroot/gentoo-x86/app-portage/eix/eix-0.26.0.ebuild,v 1.3 2012/07/10 14:30:40 jlec Exp $
4 darkside 1.1
5     EAPI=4
6    
7 jlec 1.3 inherit eutils multilib bash-completion-r1
8 darkside 1.1
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.2 KEYWORDS="~amd64 ~arm ~hppa ~m68k ~mips ~s390 ~sh ~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="clang 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     clang? ( sys-devel/clang )
24     nls? ( sys-devel/gettext )"
25    
26     pkg_setup() {
27     if has_version "<${CATEGORY}/${PN}-0.25.3"; then
28     local eixcache="${EROOT}"/var/cache/${PN}
29     [[ -f ${eixcache} ]] && rm -f "${eixcache}"
30     fi
31     }
32    
33 jlec 1.3 src_prepare() {
34     use tools && epatch "${FILESDIR}"/${P}-tools.patch
35     }
36    
37 darkside 1.1 src_configure() {
38     econf $(use_with sqlite) $(use_with doc extra-doc) \
39     $(use_with zsh-completion) \
40     $(use_enable nls) $(use_enable tools separate-tools) \
41     $(use_enable security) $(use_enable optimization) \
42     $(use_enable strong-optimization) $(use_enable debug debugging) \
43     $(use_with prefix always-accept-keywords) \
44     $(use_with dep dep-default) \
45     $(use_with clang nongnu-cxx clang++) \
46     --with-ebuild-sh-default="/usr/$(get_libdir)/portage/bin/ebuild.sh" \
47     --with-portage-rootpath="${ROOTPATH}" \
48     --with-eprefix-default="${EPREFIX}" \
49     --docdir="${EPREFIX}/usr/share/doc/${PF}" \
50     --htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
51     }
52    
53     src_install() {
54     default
55     dobashcomp bash/eix
56     keepdir "/var/cache/${PN}"
57     fowners portage:portage "/var/cache/${PN}"
58     fperms 775 "/var/cache/${PN}"
59     }
60    
61     pkg_postinst() {
62     # fowners in src_install doesn't work for owner/group portage:
63     # merging changes this owner/group back to root.
64     use prefix || chown portage:portage "${EROOT}var/cache/${PN}"
65     local obs="${EROOT}var/cache/eix.previous"
66     ! test -f "${obs}" || ewarn "Found obsolete ${obs}, please remove it"
67     }

  ViewVC Help
Powered by ViewVC 1.1.20