development/dune: Updated for version 3.0.0.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2022-02-24 21:02:33 +01:00 committed by Willy Sudiarto Raharjo
parent baa9348c81
commit fb2460f7a9
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 7 additions and 7 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for dune
# Copyright 2019 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# Copyright 2019-2022 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dune
VERSION=${VERSION:-1.11.3}
VERSION=${VERSION:-3.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -80,7 +80,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
make release
make DESTDIR=$PKG INSTALL_ARGS="--prefix=/usr --libdir='$(ocamlfind printconf destdir)'" install
make DESTDIR=$PKG INSTALL_ARGS="--prefix=/usr --libdir=/usr/lib$LIBDIRSUFFIX/ocaml" install
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

View file

@ -1,10 +1,10 @@
PRGNAM="dune"
VERSION="1.11.3"
VERSION="3.0.0"
HOMEPAGE="http://caml.inria.fr"
DOWNLOAD="https://github.com/ocaml/dune/archive/1.11.3/dune-1.11.3.tar.gz"
MD5SUM="483164bdca4d0f568f4c95987737899b"
DOWNLOAD="https://github.com/ocaml/dune/archive/3.0.0/dune-3.0.0.tar.gz"
MD5SUM="14cc07bdb7c2bc856e5e5b2c46cc4ed5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ocaml-findlib"
REQUIRES="ocaml"
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"