summaryrefslogtreecommitdiffstats
path: root/education/tuxtype/BUILD
blob: de5dbb06a679bd322704bd985a42847a2376ef9b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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