chiark
/
gitweb
/
~mdw
/
termux-packages
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c355e2f
)
frotz: Update frotz from 2.43 to 2.44
author
Fredrik Fornwall
<fredrik@fornwall.net>
Sun, 30 Aug 2015 09:14:41 +0000
(
05:14
-0400)
committer
Fredrik Fornwall
<fredrik@fornwall.net>
Sun, 30 Aug 2015 09:14:41 +0000
(
05:14
-0400)
packages/frotz/build.sh
patch
|
blob
|
blame
|
history
diff --git
a/packages/frotz/build.sh
b/packages/frotz/build.sh
index 80fbc129ac75b7599e770f78c29f7d024d93abb7..71c869c23f5a785c8821cf651fff7b7958e5db6a 100644
(file)
--- a/
packages/frotz/build.sh
+++ b/
packages/frotz/build.sh
@@
-2,10
+2,15
@@
TERMUX_PKG_HOMEPAGE=http://frotz.sourceforge.net/
TERMUX_PKG_DESCRIPTION="Interpreter for Infocom and other Z-machine interactive fiction (IF) games"
# frotz does not depend on dialog, but the script zgames we bundle below in termux_step_make_install() do.
TERMUX_PKG_DEPENDS="ncurses, dialog"
TERMUX_PKG_DESCRIPTION="Interpreter for Infocom and other Z-machine interactive fiction (IF) games"
# frotz does not depend on dialog, but the script zgames we bundle below in termux_step_make_install() do.
TERMUX_PKG_DEPENDS="ncurses, dialog"
-TERMUX_PKG_VERSION=2.43
-TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/frotz/frotz/${TERMUX_PKG_VERSION}/frotz-${TERMUX_PKG_VERSION}d.tar.gz
+TERMUX_PKG_VERSION=2.44
+TERMUX_PKG_SRCURL=https://github.com/DavidGriffith/frotz/archive/${TERMUX_PKG_VERSION}.tar.gz
+TERMUX_PKG_FOLDERNAME=frotz-${TERMUX_PKG_VERSION}
TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_BUILD_IN_SRC=yes
+# Pull request submitted to replace rindex() with strrchr() at
+# https://github.com/DavidGriffith/frotz/pull/20
+CFLAGS+=" -Drindex=strrchr"
+
termux_step_make () {
CC="$CC $CFLAGS $CPPFLAGS $LDFLAGS" PREFIX=$TERMUX_PREFIX make -j $TERMUX_MAKE_PROCESSES install
}
termux_step_make () {
CC="$CC $CFLAGS $CPPFLAGS $LDFLAGS" PREFIX=$TERMUX_PREFIX make -j $TERMUX_MAKE_PROCESSES install
}