termux-packages/packages/wol/build.sh

15 lines
657 B
Bash
Raw Normal View History

2016-01-25 18:30:18 +01:00
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=2
2016-01-25 18:30:18 +01:00
TERMUX_PKG_SRCURL=http://downloads.openwrt.org/sources/wol-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--mandir=$TERMUX_PREFIX/share/man"
TERMUX_PKG_RM_AFTER_INSTALL="info/"
2016-01-25 18:30:18 +01:00
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
}