Browse Source

inotify-tools: Update from 3.14 to 3.20.1

android-5
Fredrik Fornwall 7 years ago
parent
commit
0f60236951
  1. 11
      packages/inotify-tools/build.sh
  2. 12
      packages/inotify-tools/src-Makefile.am.patch

11
packages/inotify-tools/build.sh

@ -1,17 +1,18 @@
TERMUX_PKG_HOMEPAGE=https://github.com/rvoicilas/inotify-tools/wiki TERMUX_PKG_HOMEPAGE=https://github.com/rvoicilas/inotify-tools/wiki
TERMUX_PKG_DESCRIPTION="Programs providing a simple interface to inotify" TERMUX_PKG_DESCRIPTION="Programs providing a simple interface to inotify"
TERMUX_PKG_VERSION=3.14 TERMUX_PKG_VERSION=3.20.1
TERMUX_PKG_REVISION=1 TERMUX_PKG_SHA256=a433cc1dedba851078276db69b0e97f9fe41e4ba3336d2971adfca4b3a6242ac
TERMUX_PKG_SRCURL=https://github.com/downloads/rvoicilas/inotify-tools/inotify-tools-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SRCURL=https://github.com/rvoicilas/inotify-tools/archive/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=222bcca8893d7bf8a1ce207fb39ceead5233b5015623d099392e95197676c92f
TERMUX_PKG_BUILD_IN_SRC=yes TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_pre_configure() { termux_step_pre_configure() {
./autogen.sh
LDFLAGS+=" -llog" LDFLAGS+=" -llog"
} }
termux_step_make () { termux_step_make () {
continue :
} }
termux_step_make_install () { termux_step_make_install () {

12
packages/inotify-tools/src-Makefile.am.patch

@ -0,0 +1,12 @@
diff -u -r ../inotify-tools-3.20.1/src/Makefile.am ./src/Makefile.am
--- ../inotify-tools-3.20.1/src/Makefile.am 2018-01-06 12:10:51.000000000 +0100
+++ ./src/Makefile.am 2018-05-19 00:38:08.962826874 +0200
@@ -2,7 +2,7 @@
inotifywait_SOURCES = inotifywait.c common.c common.h
inotifywatch_SOURCES = inotifywatch.c common.c common.h
-AM_CFLAGS = -Wall -Werror -Wpointer-arith -std=c99 -I../libinotifytools/src -L../libinotifytools/src
+AM_CFLAGS = -Wall -Wpointer-arith -std=c99 -I../libinotifytools/src -L../libinotifytools/src
AM_CPPFLAGS = -I$(top_srcdir)/libinotifytools/src
LDADD = ../libinotifytools/src/libinotifytools.la
Loading…
Cancel
Save