termux-packages/packages/fsmon/build.sh
2020-02-05 12:43:16 +02:00

13 lines
496 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/nowsecure/fsmon
TERMUX_PKG_DESCRIPTION="Filesystem monitor with fanotify and inotify backends"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_VERSION=1.6.1
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/nowsecure/fsmon/archive/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=79b6b0c256ac2464cb02f0e36566cda66bf9cbb5dd4005290beb89ee815d2067
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make() {
make FANOTIFY_CFLAGS="-DHAVE_FANOTIFY=1 -DHAVE_SYS_FANOTIFY=0"
}