/[gentoo-alt]/trunk/prefix/app-portage/gentoolkit/gentoolkit-0.2.2_pre3.ebuild
Gentoo

Contents of /trunk/prefix/app-portage/gentoolkit/gentoolkit-0.2.2_pre3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1170 - (show annotations) (download)
Sun Mar 26 23:00:33 2006 UTC (8 years, 5 months ago) by kito
File size: 1511 byte(s)
fix digests
1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.2.2_pre3.ebuild,v 1.1 2006/03/09 15:49:49 fuzzyray Exp $
4
5 EAPI="prefix"
6
7 inherit eutils python
8
9 DESCRIPTION="Collection of administration scripts for Gentoo"
10 HOMEPAGE="http://www.gentoo.org/proj/en/portage/tools/index.xml"
11 SRC_URI="mirror://gentoo/${P}.tar.gz http://dev.gentoo.org/~fuzzyray/distfiles/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 IUSE=""
16
17 KEYWORDS="~amd64 ~ppc ~ppc-macos ~x86"
18
19 DEPEND=">=sys-apps/portage-2.0.51_pre21
20 >=dev-lang/python-2.0
21 >=dev-util/dialog-0.7
22 >=dev-lang/perl-5.6
23 >=sys-apps/grep-2.4
24 userland_GNU? ( sys-apps/debianutils )"
25
26 src_install() {
27 make DESTDIR=${D} install-gentoolkit || die
28 }
29
30 pkg_preinst() {
31 # FIXME: Remove from future ebuilds after gentoolkit-0.2.2 is stable
32 rm -f ${ROOT}/usr/lib/gentoolkit/pym/gentoolkit.py[co] ${ROOT}/usr/lib/gentoolkit/pym/gentoolkit/*.py[co]
33 }
34
35 pkg_postinst() {
36 python_mod_optimize ${ROOT}/usr/lib/gentoolkit
37 echo
38 ewarn "The qpkg and etcat tools are deprecated in favor of equery and"
39 ewarn "are no longer installed in ${ROOT}usr/bin in this release."
40 ewarn "They are still available in ${ROOT}usr/share/doc/${PF}/deprecated/"
41 ewarn "if you *really* want to use them."
42 echo
43 einfo "Another alternative to qpkg and equery are the q applets in"
44 einfo "app-portage/portage-utils"
45 echo
46 }
47
48 pkg_postrm() {
49 python_mod_cleanup ${ROOT}/usr/lib/gentoolkit
50 }

  ViewVC Help
Powered by ViewVC 1.1.20