termux-packages/packages/glulxe/build.sh

30 lines
950 B
Bash
Raw Normal View History

2015-06-13 01:03:31 +02:00
TERMUX_PKG_HOMEPAGE=http://www.eblong.com/zarf/glulx/
TERMUX_PKG_DESCRIPTION="Interpreter for the Glulx portable VM for interactive fiction (IF) games"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="MIT"
2017-01-29 15:32:40 +01:00
TERMUX_PKG_VERSION=0.5.4
2015-06-13 01:03:31 +02:00
TERMUX_PKG_SRCURL=http://www.eblong.com/zarf/glulx/glulxe-051.tar.gz
2017-01-29 15:32:40 +01:00
TERMUX_PKG_SHA256=33c563bdbd0fdbae625e1a2441e9a6f40f1491f1cdc2a197bbd6cf2c32c3830d
2015-06-13 01:03:31 +02:00
TERMUX_PKG_BUILD_IN_SRC="yes"
TERMUX_PKG_DEPENDS="ncurses"
termux_step_configure() {
termux_download http://eblong.com/zarf/glk/glktermw-104.tar.gz \
$TERMUX_PKG_CACHEDIR/glktermw-104.tar.gz \
5968630b45e2fd53de48424559e3579db0537c460f4dc2631f258e1c116eb4ea
2015-06-13 01:03:31 +02:00
tar xf $TERMUX_PKG_CACHEDIR/glktermw-104.tar.gz
}
termux_step_make() {
2015-06-13 01:03:31 +02:00
cd $TERMUX_PKG_SRCDIR/glkterm
patch -p1 < $TERMUX_PKG_BUILDER_DIR/glkterm.patch.special
CC="$CC $CFLAGS $CPPFLAGS $LDFLAGS" PREFIX=$TERMUX_PREFIX make -j 1
cd ..
make
cp glulxe $TERMUX_PREFIX/bin
}
termux_step_make_install() {
2015-06-13 01:03:31 +02:00
echo "Do nothing..."
}