2019-12-21 19:14:18 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://gitlab.com/DavidGriffith/frotz
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Interpreter for Infocom and other Z-machine interactive fiction (IF) games"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2021-03-01 22:16:06 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2017-03-01 22:12:43 +01:00
|
|
|
# frotz does not depend on dialog or curl, but the zgames script we bundle below in termux_step_make_install() do.
|
2021-06-10 20:06:07 +02:00
|
|
|
TERMUX_PKG_VERSION=2.53
|
2021-11-27 07:34:26 +01:00
|
|
|
TERMUX_PKG_REVISION=1
|
2019-12-21 19:14:18 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://gitlab.com/DavidGriffith/frotz/-/archive/${TERMUX_PKG_VERSION}/frotz-${TERMUX_PKG_VERSION}.tar.gz
|
2021-06-10 20:06:07 +02:00
|
|
|
TERMUX_PKG_SHA256=ed288b2ddad6c100f7ad7cb6ee8c867053d75144e96160b5ba00abb8969cdf30
|
2017-03-01 22:12:43 +01:00
|
|
|
TERMUX_PKG_DEPENDS="ncurses, dialog, curl"
|
2019-08-13 15:19:08 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2021-12-18 10:31:10 +01:00
|
|
|
TERMUX_PKG_GROUPS="games"
|
2015-06-13 01:03:31 +02:00
|
|
|
|
2019-03-16 13:38:23 +01:00
|
|
|
termux_step_pre_configure () {
|
2019-12-21 19:14:18 +01:00
|
|
|
export CURSES_CFLAGS="-I$TERMUX_PREFIX/include"
|
|
|
|
export SYSCONFDIR="$TERMUX_PREFIX/include"
|
|
|
|
export SOUND_TYPE="none"
|
2019-03-16 13:38:23 +01:00
|
|
|
}
|
|
|
|
|
2019-12-21 19:14:18 +01:00
|
|
|
termux_step_post_make_install () {
|
|
|
|
install -m755 $TERMUX_PKG_BUILDER_DIR/zgames $TERMUX_PREFIX/bin/zgames
|
2015-06-13 01:03:31 +02:00
|
|
|
}
|