void-packages/srcpkgs/unison/template

22 lines
577 B
Bash

# Template file for 'unison'
pkgname="unison"
version=2.51.2
revision=3
hostmakedepends="ocaml"
short_desc="A file-synchronization tool"
maintainer="allan <mail@may.mooo.com>"
license="GPL-3"
homepage="http://www.cis.upenn.edu/~bcpierce/unison/"
distfiles="https://github.com/bcpierce00/unison/archive/v${version}.tar.gz"
checksum=a2efcbeab651be6df69cc9b253011a07955ecb91fb407a219719451197849d5e
nocross=yes
export OCAMLPARAM="safe-string=0,_"
do_build() {
CFLAGS= make UISTYLE=text DEBUGGING=false THREADS=true
}
do_install() {
vbin src/unison
vbin src/unison-fsmonitor
}