c352216c63
Variables TERMUX_PKG_PLATFORM_INDEPENDENT TERMUX_DEBUG TERMUX_PKG_HAS_DEBUG TERMUX_PKG_ESSENTIAL TERMUX_SUBPKG_ESSENTIAL TERMUX_PKG_NO_STATICSPLIT TERMUX_PKG_BUILD_IN_SRC TERMUX_PKG_FORCE_CMAKE TERMUX_PKG_HOSTBUILD should not accept arbitrary values for marking them "enabled". Instead they should accept boolean values which makes them easier to handle and also makes their meaning clear. build-package.sh should make decision based on variable's value but not on whether it is set or empty. %ci:no-build
27 lines
758 B
Bash
27 lines
758 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/rvoicilas/inotify-tools/wiki
|
|
TERMUX_PKG_DESCRIPTION="Programs providing a simple interface to inotify"
|
|
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=true
|
|
|
|
termux_step_pre_configure() {
|
|
./autogen.sh
|
|
|
|
LDFLAGS+=" -llog"
|
|
}
|
|
|
|
termux_step_make() {
|
|
:
|
|
}
|
|
|
|
termux_step_make_install() {
|
|
# the command-line tools needs the libinotifytools installed before building
|
|
make -C libinotifytools install
|
|
make install
|
|
}
|