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

Contents of /trunk/prefix/app-portage/gentoolkit/gentoolkit-0.2.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1154 - (show annotations) (download)
Wed Mar 22 10:01:00 2006 UTC (8 years, 3 months ago) by grobian
File size: 1518 byte(s)
Adding gentoolkit
 

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.1.ebuild,v 1.11 2006/02/09 05:55:18 kumba Exp $
4
5 EAPI="prefix"
6
7 inherit eutils
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 old python runtime files, should use python.eclass
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 echo
37 einfo "The following older scripts have been removed in this release:"
38 einfo " dep-clean, ewhich, mkebuild, pkg-clean, pkg-size"
39 echo
40 ewarn "The qpkg and etcat tools are deprecated in favor of equery and"
41 ewarn "are no longer installed in ${ROOT}usr/bin in this release."
42 ewarn "They are still available in ${ROOT}usr/share/doc/${PF}/deprecated/"
43 ewarn "if you *really* want to use them."
44 echo
45 einfo "Another alternative to qpkg and equery are the q applets in"
46 einfo "app-portage/portage-utils"
47 echo
48 }

  ViewVC Help
Powered by ViewVC 1.1.20