Merge pull request #131 from vaites/master
[termux-packages] / packages / wol / build.sh
1 TERMUX_PKG_HOMEPAGE=http://sourceforge.net/projects/wake-on-lan/
2 TERMUX_PKG_DESCRIPTION="wol implements Wake On LAN functionality in a small program. It wakes up hardware that is Magic Packet compliant"
3 TERMUX_PKG_VERSION=0.7.1
4 TERMUX_PKG_BUILD_REVISION=1
5 TERMUX_PKG_SRCURL=http://downloads.openwrt.org/sources/wol-${TERMUX_PKG_VERSION}.tar.gz
6 TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--infodir=$TERMUX_PREFIX/share/info"
7
8 termux_step_pre_configure() {
9 # https://dev.openwrt.org/browser/packages/net/wol/Makefile
10 export ac_cv_func_mmap_fixed_mapped=yes
11 export jm_cv_func_working_malloc=yes
12 export ac_cv_func_alloca_works=yes
13 }