mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
New package: ocaml-zarith-1.9.1
This commit is contained in:
parent
93977ec1c5
commit
fd5b0e5726
1 changed files with 24 additions and 0 deletions
24
srcpkgs/ocaml-zarith/template
Normal file
24
srcpkgs/ocaml-zarith/template
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Template file for 'ocaml-zarith'
|
||||||
|
pkgname=ocaml-zarith
|
||||||
|
version=1.9.1
|
||||||
|
revision=1
|
||||||
|
wrksrc="Zarith-release-${version}"
|
||||||
|
build_style=configure
|
||||||
|
make_check_target="tests"
|
||||||
|
hostmakedepends="perl"
|
||||||
|
makedepends="gmp-devel ocaml ocaml-findlib"
|
||||||
|
short_desc="OCaml operations over arbitrary-precision integers"
|
||||||
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
|
license="LGPL-2.0-only,OCaml-LGPL-linking-exception"
|
||||||
|
homepage="https://github.com/ocaml/zarith"
|
||||||
|
distfiles="https://github.com/ocaml/zarith/archive/release-${version}.tar.gz"
|
||||||
|
checksum=49be0214f34ae05e7a83b53351f134ba73eddaf87d1abb6f61b19943c211ca5d
|
||||||
|
nocross=yes
|
||||||
|
disable_parallel_build=yes
|
||||||
|
|
||||||
|
post_configure() {
|
||||||
|
sed -i 's/INSTALLDIR=/&$(DESTDIR)/' Makefile
|
||||||
|
}
|
||||||
|
pre_install() {
|
||||||
|
vmkdir usr/lib/ocaml
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue