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

EAPI=5

inherit subversion

DESCRIPTION="Installer for pentoo, based on the ncurses Arch Linux installer"
HOMEPAGE="https://code.google.com/p/pentoo/"
# ESVN_REPO_URI="https://pentoo.googlecode.com/svn/${PN}/trunk"
ESVN_REPO_URI="https://${PN}.googlecode.com/svn/trunk"

LICENSE="GPL-3"
SLOT="0"
if [[ "${PV}" == "99999999" ]] ; then
	KEYWORDS=""
else
	KEYWORDS="amd64 x86"
	ESVN_REVISION="head"
fi

IUSE="X"

DEPEND="app-arch/xz-utils"
RDEPEND="dev-util/dialog
	X? ( x11-misc/xdialog )
	|| ( sys-boot/grub:0
	     sys-boot/grub-static:0 )
	sys-boot/grub:2
	sys-fs/squashfs-tools
	net-misc/rsync"

src_install() {
	dodir /usr/
	cp -R "${S}"/* "${ED}"/usr/ || die "Copy files failed"
	exeinto /root/Desktop/
	doexe share/applications/pentoo-installer.desktop
}