blob: 4c5d6249ec533ee2a316174ba1764296201b2955 (
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
54
55
56
57
58
59
60
61
62
63
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="1"
inherit git-2
EGIT_REPO_URI="git://github.com/r1k0/kicktoo.git"
EGIT_COMMIT="a49b8f0b0584a84bc17f2fb2816d48c2f06be6e5"
DESCRIPTION="A Portage based installer/profiler for Gentoo/Funtoo (/Exherbo RIP)"
HOMEPAGE="https://github.com/r1k0/kicktoo"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# making the profiles optional, included by default
# they are not required for the tool
IUSE="crypt doc +examples server"
RDEPEND="sys-block/parted
net-misc/curl
crypt? (
dev-libs/libgcrypt
dev-libs/popt
dev-libs/libgpg-error
sys-apps/util-linux
sys-fs/cryptsetup
)
server? (
dev-perl/HTTP-Daemon
)"
src_install() {
ktdir=/usr/share/kicktoo
insinto ${ktdir}/modules
doins modules/*
dobin kicktoo
if use server; then
dobin daemon/kicktood
insinto /etc/kicktoo
doins daemon/kicktood.conf
fi
if use doc; then
dodoc README
dodoc TODO
newdoc profiles/config.txt profile-config.txt
fi
if use examples; then
insinto ${ktdir}/kbin
doins kbin/*
insinto ${ktdir}/kconfig
doins kconfig/*
insinto ${ktdir}/profiles
rm profiles/config.txt
doins -r profiles/*
fi
}
|