termux-packages/packages/heyu/build.sh

12 lines
498 B
Bash
Raw Normal View History

2017-09-20 21:54:14 +02:00
TERMUX_PKG_HOMEPAGE=http://www.heyu.org/
TERMUX_PKG_DESCRIPTION="A text-based console program for remotely controlling lights and appliances in the home or office"
TERMUX_PKG_VERSION=2.11-rc2
TERMUX_PKG_SRCURL=https://github.com/HeyuX10Automation/heyu/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_FOLDERNAME=heyu-${TERMUX_PKG_VERSION}
termux_step_pre_configure () {
# rindex is an obsolete version of strrchr which is not available in Android:
CFLAGS+=" -Drindex=strrchr"
LDFLAGS+=" -llog"
}