termux-packages/packages/ncdc/build.sh

13 lines
586 B
Bash
Raw Normal View History

2015-06-13 01:03:31 +02:00
TERMUX_PKG_HOMEPAGE=http://dev.yorhel.nl/ncdc
TERMUX_PKG_DESCRIPTION="Modern and lightweight direct connect client with a friendly ncurses interface"
TERMUX_PKG_VERSION=1.19.1
TERMUX_PKG_SRCURL=http://dev.yorhel.nl/download/ncdc-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="libandroid-support, libgnutls, libsqlite, bzip2, glib, ncurses"
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
$TERMUX_TOUCH -d "next hour" makeheaders gendoc
}