termux-packages/packages/tintin++/build.sh
2019-01-27 22:06:44 +01:00

19 lines
697 B
Bash

TERMUX_PKG_HOMEPAGE=http://tintin.sourceforge.net
TERMUX_PKG_DESCRIPTION="Classic text-based MUD client"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=2.01.6
TERMUX_PKG_SHA256=522b3ca3ef2aadc0c3c3fd4a2cb9b779c977c9db5ea5e18309bf120cd11d153e
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/tintin/TinTin%2B%2B%20Source%20Code/${TERMUX_PKG_VERSION:0:4}/tintin-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="ac_cv_file__dev_ptmx=no"
TERMUX_PKG_DEPENDS="pcre, libgnutls, libutil"
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_post_extract_package() {
TERMUX_PKG_SRCDIR+="/src"
TERMUX_PKG_BUILDDIR="$TERMUX_PKG_SRCDIR"
}
termux_step_pre_configure() {
CFLAGS+=" $CPPFLAGS"
}