From 47c25a71385ac18976eb1f56e9fa06ce7dfc4575 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Mart=C3=ADnez?= Date: Sun, 24 Jan 2016 02:04:24 +0100 Subject: [PATCH 1/2] elinks: Add package --- packages/elinks/build.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 packages/elinks/build.sh diff --git a/packages/elinks/build.sh b/packages/elinks/build.sh new file mode 100644 index 000000000..8a8904649 --- /dev/null +++ b/packages/elinks/build.sh @@ -0,0 +1,7 @@ +TERMUX_PKG_HOMEPAGE=http://elinks.or.cz +TERMUX_PKG_DESCRIPTION="Full-Featured Text WWW Browser" +TERMUX_PKG_VERSION=0.12pre6 +TERMUX_PKG_BUILD_REVISION=1 +TERMUX_PKG_SRCURL=http://elinks.or.cz/download/elinks-${TERMUX_PKG_VERSION}.tar.gz +TERMUX_PKG_DEPENDS="libexpat, libidn, openssl" +TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-256-colors --with-openssl --mandir=$TERMUX_PREFIX/share/man" From e4f6688e1137abe25e03aae5bd64194708796242 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Mart=C3=ADnez?= Date: Mon, 25 Jan 2016 18:30:18 +0100 Subject: [PATCH 2/2] wol: Add package --- packages/wol/build.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 packages/wol/build.sh diff --git a/packages/wol/build.sh b/packages/wol/build.sh new file mode 100644 index 000000000..c28cbf12d --- /dev/null +++ b/packages/wol/build.sh @@ -0,0 +1,13 @@ +TERMUX_PKG_HOMEPAGE=http://sourceforge.net/projects/wake-on-lan/ +TERMUX_PKG_DESCRIPTION="wol implements Wake On LAN functionality in a small program. It wakes up hardware that is Magic Packet compliant" +TERMUX_PKG_VERSION=0.7.1 +TERMUX_PKG_BUILD_REVISION=1 +TERMUX_PKG_SRCURL=http://downloads.openwrt.org/sources/wol-${TERMUX_PKG_VERSION}.tar.gz +TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--infodir=$TERMUX_PREFIX/share/info" + +termux_step_pre_configure() { + # https://dev.openwrt.org/browser/packages/net/wol/Makefile + export ac_cv_func_mmap_fixed_mapped=yes + export jm_cv_func_working_malloc=yes + export ac_cv_func_alloca_works=yes +}