From d31b50fe72e39059e6981a2eabac08f3367ea71d Mon Sep 17 00:00:00 2001 From: radare Date: Fri, 12 Aug 2016 04:36:58 +0200 Subject: [PATCH] fsmon: Add package (#384) --- packages/fsmon/build.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 packages/fsmon/build.sh diff --git a/packages/fsmon/build.sh b/packages/fsmon/build.sh new file mode 100644 index 000000000..39d838ad2 --- /dev/null +++ b/packages/fsmon/build.sh @@ -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}" +}