summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-games/clanlib/files/clanlib-config-0.7.in')
-rw-r--r--dev-games/clanlib/files/clanlib-config-0.7.in28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-games/clanlib/files/clanlib-config-0.7.in b/dev-games/clanlib/files/clanlib-config-0.7.in
new file mode 100644
index 000000000000..114965a78e6a
--- /dev/null
+++ b/dev-games/clanlib/files/clanlib-config-0.7.in
@@ -0,0 +1,28 @@
+#!/bin/sh
+# Copyright (c) 2003 Gentoo Technologies, Inc.
+# Copyright (c) 2003 Karl Trygve Kalleberg <karltk@gentoo.org>
+#
+# Derived from vapier's clanlib-update
+
+VERSION=@VERSION@
+
+if [ ! "`ls /usr/lib/clanlib-* 2> /dev/null`" ] ; then
+ echo "No installed versions of ClanLib detected!"
+ exit 1
+fi
+
+showusage() {
+ echo "Usage: clanlib-config [options]"
+ echo "Options: "
+ echo " [--libs]"
+ echo " [--version]"
+}
+
+[ -z "${1}" ] && showusage
+
+case ${1} in
+ --lib-path)
+ echo /usr/lib/clanlib-${VERSION}
+ ;;
+ --version)
+ echo ${VERSION}