ocaml-num: update to 1.5.
This commit is contained in:
parent
527fc8fbf0
commit
000bcb174f
1 changed files with 9 additions and 11 deletions
|
@ -1,23 +1,21 @@
|
||||||
# Template file for 'ocaml-num'
|
# Template file for 'ocaml-num'
|
||||||
pkgname=ocaml-num
|
pkgname=ocaml-num
|
||||||
version=1.4
|
version=1.5
|
||||||
revision=4
|
revision=1
|
||||||
build_style=gnu-makefile
|
makedepends="ocaml dune"
|
||||||
make_install_target="findlib-install"
|
|
||||||
makedepends="ocaml ocaml-findlib"
|
|
||||||
short_desc="OCaml legacy Num library for arbitrary-precision integers"
|
short_desc="OCaml legacy Num library for arbitrary-precision integers"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="custom: LGPL-2.1-only with OCaml-LGPL-linking-exception"
|
license="custom: LGPL-2.1-only with OCaml-LGPL-linking-exception"
|
||||||
homepage="https://github.com/ocaml/num"
|
homepage="https://github.com/ocaml/num"
|
||||||
distfiles="https://github.com/ocaml/num/archive/v${version}.tar.gz"
|
distfiles="https://github.com/ocaml/num/archive/v${version}.tar.gz"
|
||||||
checksum=015088b68e717b04c07997920e33c53219711dfaf36d1196d02313f48ea00f24
|
checksum=7ae07c8f5601e2dfc5008a62dcaf2719912ae596a19365c5d7bdf2230515959a
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
|
||||||
pre_install() {
|
do_build() {
|
||||||
export OCAMLFIND_DESTDIR=${DESTDIR}/usr/lib/ocaml
|
dune build --display=short
|
||||||
vmkdir /usr/lib/ocaml/stublibs
|
|
||||||
}
|
}
|
||||||
|
do_install() {
|
||||||
post_install() {
|
dune install --prefix=/usr --destdir="$DESTDIR" \
|
||||||
|
--libdir=/usr/lib/ocaml --docdir=/usr/share/doc
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue