#!/bin/sh
#===============================================================================
#
# File:		mainline/dev/linux/turnwatcher.sh
#
# Copyright:	Copyright (c) 2005-2008 Made to Order Software Corp.
#
#		All Rights Reserved.
#
#		This software and its associated documentation contains
#		proprietary, confidential and trade secret information
#		of Made to Order Software Corp. and except as provided by
#		written agreement with Made to Order Software Corp.
#
#		a) no part may be disclosed, distributed, reproduced,
#		   transmitted, transcribed, stored in a retrieval system,
#		   adapted or translated in any form or by any means
#		   electronic, mechanical, magnetic, optical, chemical,
#		   manual or otherwise,
#
#		and
#
#		b) the recipient is not entitled to discover through reverse
#		   engineering or reverse compiling or other such techniques
#		   or processes the trade secrets contained therein or in the
#		   documentation.
#
#===============================================================================
#

prefix=/usr
exec_prefix=${prefix}
bindir=${exec_prefix}/bin
pkglibdir=${prefix}/lib/mo/1.3.0

BINARY=${bindir}/turnwatcher-bin
export GDK_PIXBUF_MODULE_FILE=${pkglibdir}/etc/gtk-2.0/gdk-pixbuf.loaders
export PANGO_SYSCONFDIR=${pkglibdir}/etc/pango/
export PANGO_LIBDIR=${pkglibdir}/lib/pango

if test -x ${BINARY} -a -f ${BINARY}
then
	# This cd is necessary for the tarball install
	cd ${pkglibdir}/lib
	${BINARY} $*
fi

