summaryrefslogtreecommitdiffstats
path: root/education/tuxtype/BUILD
diff options
context:
space:
mode:
authorDale E. Edmons2008-02-20 21:59:52 -0800
committerDale E. Edmons2008-02-20 21:59:52 -0800
commitc3daedcb9fdedb72313cc7b110081c69b767a4ee (patch)
tree4f722e9bed46944fbd68433d79178c5b30a18166 /education/tuxtype/BUILD
parentdcaed838c8fc9bace31bbaf9f9e8e4b6b95ec1b4 (diff)
Moved games/edutainment to test/education.
Diffstat (limited to 'education/tuxtype/BUILD')
-rwxr-xr-xeducation/tuxtype/BUILD17
1 files changed, 17 insertions, 0 deletions
diff --git a/education/tuxtype/BUILD b/education/tuxtype/BUILD
new file mode 100755
index 0000000000..de5dbb06a6
--- /dev/null
+++ b/education/tuxtype/BUILD
@@ -0,0 +1,17 @@
+(
+I_DIR=${INSTALL_ROOT}/usr/share/games/$SPELL &&
+ ./configure --build=$BUILD \
+ --prefix=${INSTALL_ROOT}/usr/share/games \
+ --bindir=${INSTALL_ROOT}/usr/share/games \
+ $OPTS &&
+ make &&
+ prepare_install &&
+ make install
+echo -e "#!/bin/sh \n
+# Needed to make symlinks/shortcuts work. \n
+# the binaries must run with correct working directory \n
+cd "${I_DIR}" \n ./tuxtype \$* \n exit \$?" > ttype &&
+ mkdir -p ${INSTALL_ROOT}/usr/games &&
+install ttype ${INSTALL_ROOT}/usr/games/tuxtype
+
+) > $C_FIFO 2>&1