heyu: Add package (#1505)
[termux-packages] / packages / heyu / build.sh
CommitLineData
ece67953
S
1TERMUX_PKG_HOMEPAGE=http://www.heyu.org/
2TERMUX_PKG_DESCRIPTION="A text-based console program for remotely controlling lights and appliances in the home or office"
3TERMUX_PKG_VERSION=2.11-rc2
4TERMUX_PKG_SRCURL=https://github.com/HeyuX10Automation/heyu/archive/v$TERMUX_PKG_VERSION.tar.gz
5TERMUX_PKG_FOLDERNAME=heyu-${TERMUX_PKG_VERSION}
6
7termux_step_pre_configure () {
8 # rindex is an obsolete version of strrchr which is not available in Android:
9 CFLAGS+=" -Drindex=strrchr"
10 LDFLAGS+=" -llog"
11}