#!/bin/bash

package=ruby
version=-1.9.3-p484

progname=$0

source ../cascade-make/lib/cascade-lib.bash GEXT_JENA ../.. $*

prefix=$GEXT_JENA_INSTALLED

export CFLAGS="-I$GEXT_JENA_INSTALLED/include $CFLAGS"
export CXXFLAGS="-I$GEXT_JENA_INSTALLED/include $CXXFLAGS"
export LDFLAGS="-L$GEXT_JENA_INSTALLED/lib $LDFLAGS"

opt_run_untar $force_untar $auto_untar $package $version
opt_run_configure $force_config $auto_config $package $version $prefix

opt_run_make $compile $package $version
opt_run_make $install $package $version "install"
opt_run_make $clean $package $version "clean"
opt_run_make $distclean $package $version "distclean"

opt_run_tarclean $tarclean $package $version

