void-packages/srcpkgs/watchman/template

20 lines
602 B
Bash

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