void-packages/srcpkgs/watchman/template
2016-02-14 04:43:28 -05:00

18 lines
588 B
Bash

# Template file for 'watchman'
pkgname=watchman
version=4.4.0
revision=1
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=6fdd830584e59d0c70d06c5776d3ab68eb0cfe81ec2c071455bf04df84d9aee2
pre_configure() {
sed -i 's,sys/poll.h,poll.h,g' *.[ch]
NOCONFIGURE=1 ./autogen.sh
}