summaryrefslogtreecommitdiff
blob: 8b4fe921061c4443548be52b9bf62af1bc2f4d44 (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

inherit eutils

DESCRIPTION="gentoo system management"
HOMEPAGE=""
SRC_URI="http://www.aperiplus.co.uk/downloads/src/${P}.tar.bz2"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=">=app-misc/bashfun-0.1.4
	net-misc/htpdate
	net-misc/rsync
	sys-boot/grub"

#DEPEND=""

src_install() {
    #dosym /opt/gentool/bin/gentool.sh /opt/bin/gentool
    insinto '/opt/gentool'
    doins -r "${S}/opt/gentool"
    dodir '/etc/gentool'
    insinto '/etc/gentool'
    doins "${S}/etc/gentool/config.sh"
    doenvd "${S}/etc/env.d/99gentool-env"

    # dosym PEBKAC
    cd /opt/bin
    ln -s /opt/gentool/bin/gentool.sh pvr
}

pkg_postinst() {    
    elog
    elog 'you may want to edit /etc/gentool/config.sh now - just follow instructions in the file'
    elog
}