termux-packages/packages/ncdc/build.sh
Fredrik Fornwall 70dd6b3190 Remove TERMUX_TAR and TERMUX_TOUCH
These can be removed now that OS X is not supported directly (OS X
users can still use Docker to build though).

Fixes #936.
2017-04-18 08:19:48 +02:00

15 lines
691 B
Bash

TERMUX_PKG_HOMEPAGE=https://dev.yorhel.nl/ncdc
TERMUX_PKG_DESCRIPTION="Modern and lightweight direct connect client with a friendly ncurses interface"
TERMUX_PKG_VERSION=1.20
TERMUX_PKG_SRCURL=https://dev.yorhel.nl/download/ncdc-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=8a998857df6289b6bd44287fc06f705b662098189f2a8fe95b1a5fbc703b9631
TERMUX_PKG_DEPENDS="libandroid-support, libgnutls, libsqlite, bzip2, glib, ncurses"
TERMUX_PKG_BUILD_IN_SRC="yes"
termux_step_post_configure () {
# Cross compiling steps documented in ncdc README
gcc $TERMUX_PKG_SRCDIR/deps/makeheaders.c -o makeheaders
gcc -I. $TERMUX_PKG_SRCDIR/doc/gendoc.c -o gendoc
touch -d "next hour" makeheaders gendoc
}