void-packages/srcpkgs/watchman/template

20 lines
602 B
Bash

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