1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-05-21 12:56:14 +02:00

Add inotify tools package

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
David Oberhollenzer 2019-03-24 17:22:59 +01:00
parent 1ecddf718f
commit 1c8a421015
5 changed files with 41 additions and 0 deletions

26
pkg/inotify-tools/build Executable file
View file

@ -0,0 +1,26 @@
VERSION="3.20.1"
SRCDIR="inotify-tools-${VERSION}"
TARBALL="${VERSION}.tar.gz"
URL="https://github.com/rvoicilas/inotify-tools/archive"
SHA256SUM="a433cc1dedba851078276db69b0e97f9fe41e4ba3336d2971adfca4b3a6242ac"
DEPENDS="toolchain"
prepare() {
./autogen.sh
}
build() {
run_configure "$1" --disable-doxygen
make -j $NUMJOBS
}
deploy() {
make DESTDIR="$PKGDEPLOYDIR" install
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
}
check_update() {
curl --silent -L "https://github.com/rvoicilas/inotify-tools/releases" |\
grep -o "tag/[0-9.]*" | sed 's#tag/##g' | \
verson_find_greatest "$VERSION"
}

View file

@ -0,0 +1 @@
requires inotify-tools crt crt-dev

View file

@ -0,0 +1,7 @@
dir lib 0755 0 0
dir include 0755 0 0
dir include/inotifytools 0755 0 0
slink lib/libinotifytools.so 0777 0 0 libinotifytools.so.0.4.1
file include/inotifytools/inotify.h 0644 0 0
file include/inotifytools/inotify-nosys.h 0644 0 0
file include/inotifytools/inotifytools.h 0644 0 0

View file

@ -0,0 +1 @@
requires crt

View file

@ -0,0 +1,6 @@
dir bin 0755 0 0
dir lib 0755 0 0
file bin/inotifywait 0755 0 0
file bin/inotifywatch 0755 0 0
file lib/libinotifytools.so.0.4.1 0755 0 0
slink lib/libinotifytools.so.0 0777 0 0 libinotifytools.so.0.4.1