public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [ITA] ocaml 4.14.0
@ 2022-07-04  2:03 William Hu
  2022-07-04 17:03 ` Jon Turney
  0 siblings, 1 reply; 20+ messages in thread
From: William Hu @ 2022-07-04  2:03 UTC (permalink / raw)
  To: cygwin-apps

[-- 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
}

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2022-08-24 10:04 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-04  2:03 [ITA] ocaml 4.14.0 William Hu
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

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).