mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 14:43:52 +02:00
unison: update to 2.53.7.
This commit is contained in:
parent
19ef5db726
commit
f9ba997c8c
1 changed files with 12 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'unison'
|
# Template file for 'unison'
|
||||||
pkgname=unison
|
pkgname=unison
|
||||||
version=2.53.5
|
version=2.53.7
|
||||||
revision=1
|
revision=1
|
||||||
hostmakedepends="ocaml"
|
hostmakedepends="ocaml"
|
||||||
short_desc="File-synchronization tool"
|
short_desc="File-synchronization tool"
|
||||||
|
@ -8,12 +8,20 @@ maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://www.cis.upenn.edu/~bcpierce/unison/"
|
homepage="https://www.cis.upenn.edu/~bcpierce/unison/"
|
||||||
distfiles="https://github.com/bcpierce00/unison/archive/v${version}.tar.gz"
|
distfiles="https://github.com/bcpierce00/unison/archive/v${version}.tar.gz"
|
||||||
checksum=330418ad130d93d0e13da7e7e30f9b829bd7c0e859355114bd4644c35fe08d23
|
checksum=a259537cef465c4806d6c1638c382620db2dd395ae42a0dd2efa3ba92712bed5
|
||||||
nocross="OCaml does not cross compile"
|
nocross="OCaml does not cross compile"
|
||||||
|
nostrip="$(vopt_if native '' yes)"
|
||||||
|
|
||||||
|
build_options="native"
|
||||||
|
desc_option_native="Use ocamlopt for native compilation"
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
x86_64*) build_options_default="native" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
command -v ocamlc.opt >/dev/null && NATIVE=true || NATIVE=false
|
local _native="$(vopt_if native true)"
|
||||||
CFLAGS= make ${makejobs} DEBUGGING=false THREADS=true NATIVE=$native
|
CFLAGS= make ${makejobs} DEBUGGING=false THREADS=true NATIVE="${_native}"
|
||||||
CFLAGS= make ${makejobs} -C man
|
CFLAGS= make ${makejobs} -C man
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue