2018-05-25 12:38:52 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/gnushogi/
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Program that plays the game of Shogi, also known as Japanese Chess"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_VERSION=1.4.2
|
2017-09-15 00:38:35 +02:00
|
|
|
TERMUX_PKG_REVISION=1
|
2016-09-25 00:42:39 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/gnushogi/gnushogi-${TERMUX_PKG_VERSION}.tar.gz
|
2017-03-27 01:56:11 +02:00
|
|
|
TERMUX_PKG_SHA256=1ecc48a866303c63652552b325d685e7ef5e9893244080291a61d96505d52b29
|
2015-11-15 22:04:37 +01:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_lib_curses_clrtoeol=yes --with-curses"
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="info/gnushogi.info"
|
|
|
|
TERMUX_PKG_DEPENDS="ncurses"
|
2019-08-13 15:19:08 +02:00
|
|
|
TERMUX_PKG_HOSTBUILD=true
|
2016-09-04 00:45:08 +02:00
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
CFLAGS+=" $CPPFLAGS"
|
|
|
|
}
|
2015-06-13 01:03:31 +02:00
|
|
|
|
|
|
|
termux_step_post_configure () {
|
|
|
|
cp $TERMUX_PKG_HOSTBUILD_DIR/gnushogi/pat2inc $TERMUX_PKG_BUILDDIR/gnushogi/pat2inc
|
|
|
|
# Update timestamps so that the binaries does not get rebuilt:
|
2017-04-18 08:19:48 +02:00
|
|
|
touch -d "next hour" $TERMUX_PKG_BUILDDIR/gnushogi/pat2inc
|
2015-06-13 01:03:31 +02:00
|
|
|
}
|