mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
ocaml-num: update to 1.2.
This commit is contained in:
parent
9ce5719ede
commit
f046e28322
1 changed files with 4 additions and 7 deletions
|
@ -1,22 +1,19 @@
|
|||
# Template file for 'ocaml-num'
|
||||
pkgname=ocaml-num
|
||||
version=1.1
|
||||
revision=4
|
||||
version=1.2
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
makedepends="ocaml ocaml-findlib"
|
||||
make_install_target="findlib-install"
|
||||
short_desc="OCaml legacy Num library for arbitrary-precision integers"
|
||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||
license="LGPL-2.1"
|
||||
homepage="https://github.com/ocaml/num"
|
||||
distfiles="https://github.com/ocaml/num/archive/v${version}.tar.gz"
|
||||
checksum=04ac85f6465b9b2bf99e814ddc798a25bcadb3cca2667b74c1af02b6356893f6
|
||||
checksum=c5023104925ff4a79746509d4d85294d8aafa98da6733e768ae53da0355453de
|
||||
wrksrc="num-${version}"
|
||||
nocross=yes
|
||||
nopie=yes
|
||||
|
||||
post_extract() {
|
||||
sed -i '/^ /s/\$(STDLIBDIR)/$(DESTDIR)\/&/' src/Makefile
|
||||
}
|
||||
pre_install() {
|
||||
export OCAMLFIND_DESTDIR=${DESTDIR}/usr/lib/ocaml
|
||||
vmkdir /usr/lib/ocaml/stublibs
|
||||
|
|
Loading…
Add table
Reference in a new issue