incron: update to 0.5.12.
This commit is contained in:
parent
1ed9df0f9a
commit
dac9a3197b
|
@ -1,11 +0,0 @@
|
||||||
# taken from https://github.com/alpinelinux/aports/blob/master/community/incron/incron-aarch64.patch
|
|
||||||
--- inotify-cxx.h
|
|
||||||
+++ inotify-cxx.h
|
|
||||||
@@ -37,7 +37,7 @@
|
|
||||||
#include <sys/inotify.h>
|
|
||||||
|
|
||||||
// Use this if syscalls not defined
|
|
||||||
-#ifndef __NR_inotify_init
|
|
||||||
+#if not defined(__NR_inotify_init) && not defined(__aarch64__)
|
|
||||||
#include <sys/inotify-syscalls.h>
|
|
||||||
#endif // __NR_inotify_init
|
|
|
@ -1,15 +1,16 @@
|
||||||
# Template file for 'incron'
|
# Template file for 'incron'
|
||||||
pkgname=incron
|
pkgname=incron
|
||||||
version=0.5.10
|
version=0.5.12
|
||||||
revision=5
|
revision=1
|
||||||
make_dirs="/var/spool/incron 0755 root root
|
|
||||||
/etc/incron.d 0755 root root"
|
|
||||||
short_desc="A daemon that executes commands due to inotify events"
|
short_desc="A daemon that executes commands due to inotify events"
|
||||||
maintainer="allan <mail@may.mooo.com>"
|
maintainer="allan <mail@may.mooo.com>"
|
||||||
license="X11"
|
license="X11"
|
||||||
homepage="http://inotify.aiken.cz"
|
homepage="https://github.com/ar-/incron"
|
||||||
distfiles="http://inotify.aiken.cz/download/incron/incron-${version}.tar.gz"
|
distfiles="https://github.com/ar-/incron/archive/${version}.tar.gz"
|
||||||
checksum=5d4abadb5f16c26e4f728a6433ad22f7655663b5812fbd4f94e852050f38e78a
|
checksum=cce80bd723bafce59f35464f2f851d02707e32efa102e2b941ed0e42bdd38f91
|
||||||
|
|
||||||
|
make_dirs="/var/spool/incron 0755 root root
|
||||||
|
/etc/incron.d 0755 root root"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl) makedepends="argp-standalone";;
|
*-musl) makedepends="argp-standalone";;
|
||||||
|
@ -23,8 +24,12 @@ do_build() {
|
||||||
sed -i 's|strchr(s,|(char*)strchr(s,|' incroncfg.cpp
|
sed -i 's|strchr(s,|(char*)strchr(s,|' incroncfg.cpp
|
||||||
make CC=$CC ${makejobs}
|
make CC=$CC ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make PREFIX=/usr DESTDIR=${DESTDIR} install
|
make PREFIX=/usr DESTDIR=${DESTDIR} install
|
||||||
vsv incron
|
vsv incron
|
||||||
vlicense LICENSE-X11
|
vlicense LICENSE-X11
|
||||||
|
|
||||||
|
# thefuck?
|
||||||
|
rm ${DESTDIR}/etc/init
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue