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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Tue Jul 24 13:54:22 2012 UTC (2 years, 2 months ago) by darkside
Branch: MAIN
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     # $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    
5     EAPI=4
6    
7     PLOCALES="de ru"
8     inherit bash-completion-r1 eutils multilib l10n
9    
10     DESCRIPTION="Search and query ebuilds, portage incl. local settings, ext. overlays, version changes, and more"
11     HOMEPAGE="http://eix.berlios.de"
12     SRC_URI="mirror://berlios/${PN}/${P}.tar.xz"
13    
14     LICENSE="GPL-2"
15     SLOT="0"
16     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"
17     IUSE="clang debug +dep doc nls optimization security strong-optimization sqlite tools zsh-completion"
18    
19     RDEPEND="app-shells/push
20     sqlite? ( >=dev-db/sqlite-3 )
21     nls? ( virtual/libintl )"
22     DEPEND="${RDEPEND}
23     app-arch/xz-utils
24     clang? ( sys-devel/clang )
25     nls? ( sys-devel/gettext )"
26    
27     pkg_setup() {
28     if has_version "<${CATEGORY}/${PN}-0.25.3"; then
29     local eixcache="${EROOT}"/var/cache/${PN}
30     [[ -f ${eixcache} ]] && rm -f "${eixcache}"
31     fi
32     }
33    
34     src_prepare() {
35     epatch_user
36     }
37    
38     src_configure() {
39     econf $(use_with sqlite) $(use_with doc extra-doc) \
40     $(use_with zsh-completion) \
41     $(use_enable nls) $(use_enable tools separate-tools) \
42     $(use_enable security) $(use_enable optimization) \
43     $(use_enable strong-optimization) $(use_enable debug debugging) \
44     $(use_with prefix always-accept-keywords) \
45     $(use_with dep dep-default) \
46     $(use_with clang nongnu-cxx clang++) \
47     --with-ebuild-sh-default="/usr/$(get_libdir)/portage/bin/ebuild.sh" \
48     --with-portage-rootpath="${ROOTPATH}" \
49     --with-eprefix-default="${EPREFIX}" \
50     --docdir="${EPREFIX}/usr/share/doc/${PF}" \
51     --htmldir="${EPREFIX}/usr/share/doc/${PF}/html"
52     }
53    
54     src_install() {
55     default
56     dobashcomp bash/eix
57     keepdir "/var/cache/${PN}"
58     fowners portage:portage "/var/cache/${PN}"
59     fperms 775 "/var/cache/${PN}"
60     }
61    
62     pkg_postinst() {
63     # fowners in src_install doesn't work for owner/group portage:
64     # merging changes this owner/group back to root.
65     use prefix || chown portage:portage "${EROOT}var/cache/${PN}"
66     local obs="${EROOT}var/cache/eix.previous"
67     ! test -f "${obs}" || ewarn "Found obsolete ${obs}, please remove it"
68     }

  ViewVC Help
Powered by ViewVC 1.1.20