diff options
Diffstat (limited to 'dev-db/neo4j-community/neo4j-community-1.7.ebuild')
-rw-r--r-- | dev-db/neo4j-community/neo4j-community-1.7.ebuild | 43 |
1 files changed, 34 insertions, 9 deletions
diff --git a/dev-db/neo4j-community/neo4j-community-1.7.ebuild b/dev-db/neo4j-community/neo4j-community-1.7.ebuild index 82cfd86..a9488d9 100644 --- a/dev-db/neo4j-community/neo4j-community-1.7.ebuild +++ b/dev-db/neo4j-community/neo4j-community-1.7.ebuild @@ -31,17 +31,42 @@ src_compile() { } src_install() { - insinto /opt/neo4j - dodir /opt/bin + exeinto /opt/neo4j/bin + doexe "${S}"/bin/neo4j || die + doexe "${S}"/bin/neo4j-shell || die + doexe "${S}"/bin/utils || die - doins -r * || die - fperms 0700 /opt/neo4j/bin/neo4j - fperms 0700 /opt/neo4j/bin/neo4j-shell - fperms 0700 /opt/neo4j/bin/utils + # system requirements + insinto /opt/neo4j/system/lib + doins "${S}"/system/lib/*.jar || die + + # components directory + insinto /opt/neo4j/lib + doins "${S}"/lib/*.jar || die - newinitd "${FILESDIR}"/neo4j.init neo4j + # plugins directory + dodir /opt/neo4j/plugins + + # config files + insinto /etc/neo4j + doins "${S}"/conf/neo4j-wrapper.conf + doins "${S}"/conf/neo4j.properties + doins "${S}"/conf/neo4j-server.properties + doins "${S}"/conf/logging.properties + + # documentation + dodoc "${S}"/LICENSE.txt + dodoc "${S}"/LICENSES.txt + dodoc "${S}"/doc/neo4j.txt || die + dodoc "${S}"/doc/neo4j-shell.txt || die + dodoc "${S}"/doc/guide-post.html || die + dodoc -r "${S}"/doc/java || die + dodoc -r "${S}"/doc/manual || die + + # init script + newinitd "${FILESDIR}"/neo4j.init neo4j || die # create symlinks - dosym /opt/neo4j/bin/neo4j /opt/bin/neo4j - dosym /opt/neo4j/bin/neo4j-shell /opt/bin/neo4j-shell + dosym /opt/neo4j/bin/neo4j /opt/bin/neo4j || die + dosym /opt/neo4j/bin/neo4j-shell /opt/bin/neo4j-shell || die } |