From: William Hu <purplearmadillo77@proton.me>
To: "cygwin-apps@cygwin.com" <cygwin-apps@cygwin.com>
Subject: [ITA] ocaml 4.14.0
Date: Mon, 04 Jul 2022 02:03:47 +0000 [thread overview]
Message-ID: <RZD0afHX_8RLWO_5rQxSDBXwVK5EBGnouXYLnKY39d7Rz9XXkM6AyoWuxvqgkngd2nX4Fl1X-x2Y-U7yyIkMMH4z0JamTVH9a1KBVQ8DUjI=@proton.me> (raw)
[-- Attachment #1: Type: text/plain, Size: 430 bytes --]
Hello,
I noticed that the ocaml source package is currently unmaintained and the most recent package version is 4.10.0, so I'd like to adopt the packages under it (specifically, ocaml, ocaml-compiler-libs, ocaml-runtime, ocaml-doc, ocaml-ocamldoc, and ocaml-source). Attached is a cygport file that I've modified for the newest version 4.14.0. Please let me know if there's anything else that has to be done/changed. Thank you!
[-- Attachment #2: ocaml.cygport --]
[-- Type: application/octet-stream, Size: 2048 bytes --]
NAME="ocaml"
VERSION=4.14.0
RELEASE=1
CATEGORY="OCaml"
SUMMARY="OCaml compilers"
DESCRIPTION="OCaml is a fast modern type-inferring functional programming
language descended from the ML (Meta Language) family, featuring objects,
modules, and a high-performance native-code compiler. The OCaml compiler is
developed by a worldwide distributed team coordinated by the Gallium
project-team at Inria Paris-Rocquencourt."
HOMEPAGE="https://ocaml.org/"
SRC_URI="https://github.com/ocaml/ocaml/archive/${VERSION}.tar.gz"
PATCH_URI="4.14.0-configure-cflags.patch"
OCAML_LIBDIR=/usr/lib/ocaml
KEEPDIRS="${D}/usr/lib/ocaml/ocamldoc/custom"
PKG_NAMES="${NAME} ${NAME}-runtime ${NAME}-compiler-libs ${NAME}-ocamldoc ${NAME}-source ${NAME}-doc"
ocaml_OBSOLETES="ocaml-base emacs-ocaml"
ocaml_REQUIRES="flexdll ${NAME}-runtime"
ocaml_CONTENTS="
--exclude=camlheader[di].exe
--exclude=compiler-libs
--exclude=ocamldoc*
--exclude=ocamlrun*
--exclude=stublibs
--exclude=*.ml
--exclude=*.cma
--exclude=*.cmi
--exclude=*.cmo
usr/bin/ocaml*
${OCAML_LIBDIR#/}/
usr/share/doc/${NAME}/
usr/share/man/man1/
"
ocaml_runtime_SUMMARY="OCaml bytecode runtime"
ocaml_runtime_CONTENTS="
usr/bin/ocamlrun*
${OCAML_LIBDIR#/}/camlheader[di].exe
${OCAML_LIBDIR#/}/*.cm[aio]
${OCAML_LIBDIR#/}/stublibs/
${OCAML_LIBDIR#/}/threads/*.cm[ai]
usr/share/man/man1/ocamlrun*
"
ocaml_compiler_libs_SUMMARY="OCaml compiler internals"
ocaml_compiler_libs_REQUIRES=${NAME}
ocaml_compiler_libs_CONTENTS="${OCAML_LIBDIR#/}/compiler-libs/"
ocaml_ocamldoc_SUMMARY="OCaml documentation generator"
ocaml_ocamldoc_CONTENTS="
usr/bin/ocamldoc*
${OCAML_LIBDIR#/}/ocamldoc/
usr/share/man/man1/ocamldoc*
"
ocaml_source_SUMMARY="OCaml standard library sources"
ocaml_source_CONTENTS="${OCAML_LIBDIR#/}/*.ml"
ocaml_doc_SUMMARY="OCaml API documentation"
ocaml_doc_CONTENTS="usr/share/man/man3/"
src_compile() {
lndirs
cd ${B}
./configure --prefix=/usr || error "configure failed"
cygmake
}
src_test() { :
cd ${B}/testsuite
cygmake all
}
src_install() {
cd ${B}
cyginstall
}
next reply other threads:[~2022-07-04 2:03 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-04 2:03 William Hu [this message]
2022-07-04 17:03 ` Jon Turney
2022-07-05 0:42 ` William Hu
2022-07-05 19:44 ` Jon Turney
2022-07-13 2:56 ` William Hu
2022-07-13 15:41 ` David Allsopp
2022-07-14 3:36 ` William Hu
2022-07-14 14:56 ` David Allsopp
2022-07-15 3:20 ` William Hu
2022-07-16 14:22 ` Jon Turney
2022-07-23 16:38 ` William Hu
2022-07-31 14:52 ` Jon Turney
2022-08-07 2:26 ` William Hu
2022-08-23 20:00 ` David Allsopp
2022-08-24 9:20 ` Corinna Vinschen
2022-08-24 9:28 ` David Allsopp
2022-08-24 9:28 ` David Allsopp
2022-08-24 10:04 ` Corinna Vinschen
2022-07-16 14:05 ` Jon Turney
2022-07-17 20:56 ` William Hu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='RZD0afHX_8RLWO_5rQxSDBXwVK5EBGnouXYLnKY39d7Rz9XXkM6AyoWuxvqgkngd2nX4Fl1X-x2Y-U7yyIkMMH4z0JamTVH9a1KBVQ8DUjI=@proton.me' \
--to=purplearmadillo77@proton.me \
--cc=cygwin-apps@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).