termux-packages/packages/ncdc/build.sh

18 lines
818 B
Bash
Raw Normal View History

2017-01-18 00:59:50 +01:00
TERMUX_PKG_HOMEPAGE=https://dev.yorhel.nl/ncdc
2015-06-13 01:03:31 +02:00
TERMUX_PKG_DESCRIPTION="Modern and lightweight direct connect client with a friendly ncurses interface"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="MIT"
2019-03-30 00:15:15 +01:00
TERMUX_PKG_VERSION=1.21
TERMUX_PKG_REVISION=2
2019-03-30 00:15:15 +01:00
TERMUX_PKG_SHA256=22904f93a553e45b84a3e72dc6209e11194087c3244fd08c6489bacdee991982
2017-01-18 00:59:50 +01:00
TERMUX_PKG_SRCURL=https://dev.yorhel.nl/download/ncdc-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="libandroid-support, libiconv, libgnutls, libsqlite, bzip2, glib, ncurses, zlib"
2017-09-12 00:51:10 +02:00
TERMUX_PKG_BUILD_DEPENDS="libbz2-dev, libnettle-dev, libidn-dev"
TERMUX_PKG_BUILD_IN_SRC="yes"
2015-06-13 01:03:31 +02:00
termux_step_post_configure() {
2015-06-13 01:03:31 +02:00
# 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
2015-06-13 01:03:31 +02:00
}