From: David Martínez Date: Mon, 25 Jan 2016 17:30:18 +0000 (+0100) Subject: wol: Add package X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/commitdiff_plain/e4f6688e1137abe25e03aae5bd64194708796242 wol: Add package --- diff --git a/packages/wol/build.sh b/packages/wol/build.sh new file mode 100644 index 00000000..c28cbf12 --- /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 +}