void-packages/srcpkgs/watchman/template

20 lines
602 B
Bash

# Template file for 'watchman'
pkgname=watchman
version=3.5.0
revision=1
build_pie=yes
build_style=gnu-configure
hostmakedepends="automake libtool"
makedepends="pcre-devel"
short_desc="Watches files and records, or triggers actions, when they change"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Apache-2.0"
homepage="https://facebook.github.io/watchman/"
distfiles="https://github.com/facebook/watchman/archive/v${version}.tar.gz"
checksum=cfc63ca1172ac3c40c8558c87e8014d5fc4f058667fb0d58f9ac1d09316bfee3
pre_configure() {
sed -i 's,sys/poll.h,poll.h,g' *.[ch]
NOCONFIGURE=1 ./autogen.sh
}