timewarrior: Patch to build with new cmake
[termux-packages] / packages / timewarrior / build.sh
1 # Problem: In src/libshared/src/FS.cpp the <glob.h> file is included
2 # which is not provided by the Android platform. In Termux
3 # we have it in $TERMUX_PREFIX/include, which sould be found
4 # by DCMAKE_FIND_ROOT_PATH=$TERMUX_PREFIX? Works in
5 # taskwarrior for the src/FS.cpp file there.
6 TERMUX_PKG_HOMEPAGE=https://tasktools.org/projects/timewarrior.html
7 TERMUX_PKG_DESCRIPTION="Command-line time tracker"
8 TERMUX_PKG_VERSION=1.0.0
9 TERMUX_PKG_SRCURL=http://taskwarrior.org/download/timew-${TERMUX_PKG_VERSION}.tar.gz
10 TERMUX_PKG_DEPENDS="libandroid-glob"
11
12 termux_step_pre_configure() {
13 LDFLAGS+=" -landroid-glob"
14 }
15