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'
|
||||
pkgname=incron
|
||||
version=0.5.10
|
||||
revision=5
|
||||
make_dirs="/var/spool/incron 0755 root root
|
||||
/etc/incron.d 0755 root root"
|
||||
version=0.5.12
|
||||
revision=1
|
||||
short_desc="A daemon that executes commands due to inotify events"
|
||||
maintainer="allan <mail@may.mooo.com>"
|
||||
license="X11"
|
||||
homepage="http://inotify.aiken.cz"
|
||||
distfiles="http://inotify.aiken.cz/download/incron/incron-${version}.tar.gz"
|
||||
checksum=5d4abadb5f16c26e4f728a6433ad22f7655663b5812fbd4f94e852050f38e78a
|
||||
homepage="https://github.com/ar-/incron"
|
||||
distfiles="https://github.com/ar-/incron/archive/${version}.tar.gz"
|
||||
checksum=cce80bd723bafce59f35464f2f851d02707e32efa102e2b941ed0e42bdd38f91
|
||||
|
||||
make_dirs="/var/spool/incron 0755 root root
|
||||
/etc/incron.d 0755 root root"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) makedepends="argp-standalone";;
|
||||
|
@ -23,8 +24,12 @@ do_build() {
|
|||
sed -i 's|strchr(s,|(char*)strchr(s,|' incroncfg.cpp
|
||||
make CC=$CC ${makejobs}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
make PREFIX=/usr DESTDIR=${DESTDIR} install
|
||||
vsv incron
|
||||
vlicense LICENSE-X11
|
||||
|
||||
# thefuck?
|
||||
rm ${DESTDIR}/etc/init
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue