void-packages/srcpkgs/watchman/template

20 lines
602 B
Bash

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