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