fsmon: Add package (#384)

This commit is contained in:
radare 2016-08-12 04:36:58 +02:00 committed by Fredrik Fornwall
parent 5cb3a6f0c3
commit d31b50fe72

14
packages/fsmon/build.sh Normal file
View File

@ -0,0 +1,14 @@
TERMUX_PKG_HOMEPAGE=https://www.nowsecure.com
TERMUX_PKG_DESCRIPTION="FileSystem Monitor"
TERMUX_PKG_VERSION=1.4
TERMUX_PKG_SRCURL=https://github.com/nowsecure/fsmon/archive/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_FOLDERNAME="fsmon-$TERMUX_PKG_VERSION"
TERMUX_PKG_BUILD_IN_SRC="yes"
termux_step_make() {
make CC=${CC} FANOTIFY_CFLAGS="-DHAVE_FANOTIFY=1 -DHAVE_SYS_FANOTIFY=0"
}
termux_step_make_install() {
make install PREFIX="${prefix}"
}