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

inherit git

DESCRIPTION="Web-based linux image builder"
HOMEPAGE=""
SRC_URI=""
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/ingenue"
WEBAPP_OPTIONAL="yes"

EAPI="2"
LICENSE=""
SLOT="0"
KEYWORDS=""
IUSE=""

DEPEND=""
RDEPEND="
	|| (
		>=dev-lang/php-5.2.2[pdo,hash,pcntl,pcre,cli,mysql,apache2,curl,ctype,reflection,posix,ftp]
		>=dev-lang/php-5.3[pdo,hash,pcntl,cli,mysql,apache2,curl,ctype,posix,ftp]
	)
	virtual/mysql
	sys-apps/sed
	>=sys-fs/squashfs-tools-4
	sys-fs/mtd-utils
	net-misc/ntp"

src_unpack() {
	git_src_unpack
}

src_compile() {
	cd lib
	emake
}

src_install() {
	insinto /usr/share/ingenue
	doins -r shared frontend backend cache work completed
	exeinto /usr/share/ingenue
	doexe *.php
	exeinto /usr/share/ingenue/lib
	doexe lib/bkisofs-cli
	newinitd init_script ingenue
}