# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
maintainers pivotal.io:kduling geode.incubator.apache.org:dev
description In-memory Data Grid for fast transactional data processing
Apache Geode (incubating) is a data management platform that provides \
real-time, consistent access to data-intensive applications throughout \
widely distributed cloud architectures.
homepage https://geode.apache.org/
master_sites apache:incubator/geode/${version}
distname apache-geode-${version}
checksums rmd160 7a53f6ac32fc60645730d906525b3dc35c5bc62a \
sha256 246a6edea4376c18a0f54de3d4b87efcddf9d27118ddc64a945e6a5014812232
# By default, use the binary
set geodedir ${destroot}${prefix}/share/java/${name}
# Create the target java directory
xinstall -m 755 -d ${geodedir}
# Copy over the needed elements of our directory tree
# Reduce the permissions on the distribution files.
file attributes ${geodedir}/config -permissions 0755
foreach f [glob -directory ${geodedir}/config *.xml] {
file attributes $f -permissions 0644
foreach f [glob -directory ${geodedir}/lib *.jar] {
file attributes $f -permissions 0644
# Symlink gfsh into the bin directory
ln -s ../share/java/${name}/bin/gfsh ${destroot}${prefix}/bin/gfsh