1 TERMUX_PKG_HOMEPAGE
=http
://www.eblong.com
/zarf
/glulx
/
2 TERMUX_PKG_DESCRIPTION
="Interpreter for the Glulx portable VM for interactive fiction (IF) games"
3 TERMUX_PKG_VERSION
=0.5.4
4 TERMUX_PKG_SRCURL
=http
://www.eblong.com
/zarf
/glulx
/glulxe-051.
tar.gz
5 TERMUX_PKG_SHA256
=33c563bdbd0fdbae625e1a2441e9a6f40f1491f1cdc2a197bbd6cf2c32c3830d
6 TERMUX_PKG_FOLDERNAME
=glulxe
7 TERMUX_PKG_BUILD_IN_SRC
="yes"
8 TERMUX_PKG_DEPENDS
="ncurses"
10 termux_step_configure
() {
11 if [ ! -f
$TERMUX_PKG_CACHEDIR/glktermw-104.
tar.gz
]; then
12 curl http
://eblong.com
/zarf
/glk
/glktermw-104.
tar.gz
> $TERMUX_PKG_CACHEDIR/glktermw-104.
tar.gz
14 tar xf
$TERMUX_PKG_CACHEDIR/glktermw-104.
tar.gz
18 cd $TERMUX_PKG_SRCDIR/glkterm
19 patch -p1
< $TERMUX_PKG_BUILDER_DIR/glkterm.
patch.special
20 CC
="$CC $CFLAGS $CPPFLAGS $LDFLAGS" PREFIX
=$TERMUX_PREFIX make -j
1
24 cp glulxe
$TERMUX_PREFIX/bin
27 termux_step_make_install
() {