blob: 82cfd86729421046775e6b209ff3f1e1176b0fe6 (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit eutils
DESCRIPTION="Neo4j is a high-performance, NOSQL graph database with all the features of a mature and robust database."
HOMEPAGE="http://neo4j.org/"
SRC_URI="http://dist.neo4j.org/${PN}-${PV}-unix.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~x86"
RDEPEND="!dev-db/neo4j-advanced
!dev-db/neo4j-enterprise
>=virtual/jre-1.6
sys-process/lsof"
src_unpack() {
unpack ${A}
}
src_configure() {
:;
}
src_compile() {
:;
}
src_install() {
insinto /opt/neo4j
dodir /opt/bin
doins -r * || die
fperms 0700 /opt/neo4j/bin/neo4j
fperms 0700 /opt/neo4j/bin/neo4j-shell
fperms 0700 /opt/neo4j/bin/utils
newinitd "${FILESDIR}"/neo4j.init neo4j
# create symlinks
dosym /opt/neo4j/bin/neo4j /opt/bin/neo4j
dosym /opt/neo4j/bin/neo4j-shell /opt/bin/neo4j-shell
}
|