40 lines
1,007 B
Bash
40 lines
1,007 B
Bash
# Template file for 'fswatch'
|
|
pkgname=fswatch
|
|
version=1.11.3
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="doxygen"
|
|
short_desc="A cross-platform file change monitor with multiple backends"
|
|
maintainer="Orphaned <orphan@voidlinux.eu>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://emcrisostomo.github.io/fswatch/"
|
|
distfiles="https://github.com/emcrisostomo/fswatch/releases/download/${version}/fswatch-${version}.tar.gz"
|
|
checksum=21f60ff255bd8dac72c8eb917b08c10ef2a040b380876a35357f6a860282ac83
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
armv[56]*)
|
|
makedepends+=" libatomic-devel"
|
|
LDFLAGS=" -latomic"
|
|
;;
|
|
esac
|
|
|
|
post_install() {
|
|
rm -rf -- "${DESTDIR}/usr/share/doc"
|
|
}
|
|
|
|
libfswatch_package() {
|
|
short_desc+=" - fswatch library"
|
|
pkg_install() {
|
|
vmove "usr/lib/libfswatch.so.*"
|
|
}
|
|
}
|
|
|
|
libfswatch-devel_package() {
|
|
depends="libfswatch-${version}_${revision}"
|
|
short_desc+=" - fswatch development files"
|
|
pkg_install() {
|
|
vmove usr/lib/libfswatch.so
|
|
vmove usr/include
|
|
}
|
|
}
|