termux-packages/packages/inotify-tools/build.sh

27 lines
757 B
Bash
Raw Normal View History

2015-06-13 01:03:31 +02:00
TERMUX_PKG_HOMEPAGE=https://github.com/rvoicilas/inotify-tools/wiki
TERMUX_PKG_DESCRIPTION="Programs providing a simple interface to inotify"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=3.20.1
TERMUX_PKG_REVISION=1
TERMUX_PKG_SHA256=a433cc1dedba851078276db69b0e97f9fe41e4ba3336d2971adfca4b3a6242ac
TERMUX_PKG_BREAKS="inotify-tools-dev"
TERMUX_PKG_REPLACES="inotify-tools-dev"
TERMUX_PKG_SRCURL=https://github.com/rvoicilas/inotify-tools/archive/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_BUILD_IN_SRC=yes
2015-06-13 01:03:31 +02:00
2016-09-04 00:45:08 +02:00
termux_step_pre_configure() {
./autogen.sh
2016-09-04 00:45:08 +02:00
LDFLAGS+=" -llog"
}
2015-06-13 01:03:31 +02:00
termux_step_make() {
:
2015-06-13 01:03:31 +02:00
}
termux_step_make_install() {
2015-06-13 01:03:31 +02:00
# the command-line tools needs the libinotifytools installed before building
make -C libinotifytools install
make install
}