#!/bin/sh

#
# configuration script for eboard
#
# syntax: eboard-config --prefix
#         eboard-config --bindir
#         eboard-config --datadir
#         eboard-config --version
#
# author: Felipe Bergo <bergo@seul.org>
# loosely based on gtk-config
#

prefix=/usr/local

usage() 
{
	cat <<EOF
Usage: eboard-config --prefix
       eboard-config --datadir
       eboard-config --bindir
       eboard-config --version
EOF
	exit $1;
}

if test $# -eq 0; then
	usage 1 1>&2
fi

case "$1" in
	--prefix)  echo '/usr/local'; exit 0;;
	--bindir)  echo "${exec_prefix}/bin"; exit 0;;
	--datadir) echo "${prefix}/share/eboard"; exit 0;;
	--version) echo '0.9.0'; exit 0;;
	*) usage 1;;
esac


