mirror of
https://github.com/pygos/build.git
synced 2024-11-22 11:09:46 +01:00
Add inotify tools package
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
parent
1ecddf718f
commit
1c8a421015
5 changed files with 41 additions and 0 deletions
26
pkg/inotify-tools/build
Executable file
26
pkg/inotify-tools/build
Executable 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"
|
||||
}
|
1
pkg/inotify-tools/inotify-tools-dev.desc
Normal file
1
pkg/inotify-tools/inotify-tools-dev.desc
Normal file
|
@ -0,0 +1 @@
|
|||
requires inotify-tools crt crt-dev
|
7
pkg/inotify-tools/inotify-tools-dev.files
Normal file
7
pkg/inotify-tools/inotify-tools-dev.files
Normal 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
|
1
pkg/inotify-tools/inotify-tools.desc
Normal file
1
pkg/inotify-tools/inotify-tools.desc
Normal file
|
@ -0,0 +1 @@
|
|||
requires crt
|
6
pkg/inotify-tools/inotify-tools.files
Normal file
6
pkg/inotify-tools/inotify-tools.files
Normal 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
|
Loading…
Reference in a new issue