diff --git a/common/shlibs b/common/shlibs index 65db5462572..5eecf374cfe 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2912,3 +2912,4 @@ libopenglrecorder.so.0 libopenglrecorder-0.1.0_1 libgpod.so.4 libgpod-0.8.3_1 libi2c.so.0 i2c-tools-4.0_1 libairspy.so.0 libairspy-1.0.9_1 +libfswatch.so.9 fswatch-1.11.2_1 diff --git a/srcpkgs/fswatch-devel b/srcpkgs/fswatch-devel new file mode 120000 index 00000000000..73e34256b32 --- /dev/null +++ b/srcpkgs/fswatch-devel @@ -0,0 +1 @@ +fswatch \ No newline at end of file diff --git a/srcpkgs/fswatch/template b/srcpkgs/fswatch/template new file mode 100644 index 00000000000..22a3768dec3 --- /dev/null +++ b/srcpkgs/fswatch/template @@ -0,0 +1,25 @@ +# Template file for 'fswatch' +pkgname=fswatch +version=1.11.2 +revision=1 +build_style=gnu-configure +short_desc="A cross-platform file change monitor with multiple backends" +maintainer="maxice8 " +license="GPL-3" +homepage="https://emcrisostomo.github.io/fswatch/" +distfiles="https://github.com/emcrisostomo/fswatch/releases/download/${version}/fswatch-${version}.tar.gz" +checksum=b7dadb84848ce666aac0311f9b4c739fbfee6a90c6097807a1f45ad4367294c2 + +case "$XBPS_TARGET_MACHINE" in + armv6l-musl) LDFLAGS=" -latomic" ;; +esac + +fswatch-devel_package() { + depends="fswatch>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + vmove usr/include + } +}