summaryrefslogtreecommitdiff
blob: 23c7f469dc308778ee420884757b97f50b6c6987 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Karl Trygve Kalleberg <karltk@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoolkit/gentoolkit-0.1.2.ebuild,v 1.1 2002/02/03 11:40:24 vitaly Exp $

S=${WORKDIR}/${P}
DESCRIPTION="Collection of unofficial administration scripts for Gentoo"
SRC_URI=""
HOMEPAGE="http://"

DEPEND=""
RDEPEND=">=dev-lang/python-2.0
	>=sys-devel/perl-5.6"

src_install () {
	dodir /usr/share/gentoolkit

	insinto /usr/share/gentoolkit
	doins ${FILESDIR}/coverage/histogram.awk

	dosbin ${FILESDIR}/coverage/total-coverage
	dosbin ${FILESDIR}/coverage/author-coverage

	dosbin ${FILESDIR}/lintool/lintool
	
	dosbin ${FILESDIR}/scripts/etc-update
	dosbin ${FILESDIR}/scripts/pkg-clean
	dosbin ${FILESDIR}/scripts/qpkg
	dosbin ${FILESDIR}/scripts/mkebuild
	dosbin ${FILESDIR}/scripts/emerge-webrsync
	dosbin ${FILESDIR}/scripts/epm

	dodoc ${FILESDIR}/lintool/checklist-for-ebuilds
	
}


pkg_postinst() {
    #notify user about new diff/sdiff mode for etc-update being the default
    if [ -f /usr/sbin/etc-update ]
    then
        echo
        echo "!! Warning: etc-update no longer defaults to using"
        echo "!!          vim diff mode!"
        echo "!!"
        echo "!!          Vim diff mode is still available with a quick"
        echo "!!          configuration change.  If you want to use vim"
        echo "!!          diff, just edit the top of the script as"
        echo "!!          appropriate."
        echo
    fi
}