From 93a93e9a3b53c1a73142a305ea1f8136846942ee Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 22 Dec 2021 14:08:05 +0000 Subject: gentoo resync : 22.12.2021 --- dev-lang/neko/Manifest | 3 +++ dev-lang/neko/metadata.xml | 24 ++++++++++++++++++ dev-lang/neko/neko-2.3.0-r1.ebuild | 52 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 79 insertions(+) create mode 100644 dev-lang/neko/Manifest create mode 100644 dev-lang/neko/metadata.xml create mode 100644 dev-lang/neko/neko-2.3.0-r1.ebuild (limited to 'dev-lang/neko') diff --git a/dev-lang/neko/Manifest b/dev-lang/neko/Manifest new file mode 100644 index 000000000000..58480fbfca55 --- /dev/null +++ b/dev-lang/neko/Manifest @@ -0,0 +1,3 @@ +DIST neko-2.3.0.tar.gz 514044 BLAKE2B 1214fd15e0bff9df3f0bb3f4c856134772f42da5740adc260051bea6e0203e2e37db852b97114ddeef58d8320313dd01875918dee1a001833a3b9ca7d7c3c512 SHA512 fec51bed0c5500561635656c7456f3da0599aa6a47a25efe739b3c51f9cdded4a8824ed14ab67bab0905d9082cf6f06b3a76c868cb1b61d440957bcd9fd3f3d2 +EBUILD neko-2.3.0-r1.ebuild 1099 BLAKE2B 7b074948d3db10a92f008a147b5fc01c9fc3137ca3cf05116f4d1f9269be4808b780e732857b71d8fd6a7448ac78c5de20267f9ca11f237c116eaa6038600219 SHA512 86321df802f623b6ebbb892bc39589d30f7c26d87dd8757e35140a74274be6be4c8df1cc60cc345a69c4270cadda2ae1f5f0fadfba0292034b1809b65b1724af +MISC metadata.xml 954 BLAKE2B d145201c19aa8feee90d100d31f1ea30751ed8246c055f288872a43f3bc5645411021dbc94b68521427c339f51c6efa0ae34fa5607b4ea0906074023a8c09631 SHA512 c234e9b8f3bc424356ddac3cbff209c07792b5f24d918a58a6acc8f06bacad8632d150d97ff58656b8d42a409bdfcf44309ac4bbac54519d2e38c6464386cb03 diff --git a/dev-lang/neko/metadata.xml b/dev-lang/neko/metadata.xml new file mode 100644 index 000000000000..6a316de17990 --- /dev/null +++ b/dev-lang/neko/metadata.xml @@ -0,0 +1,24 @@ + + + + + + ml@gentoo.org + ML + + + Build Apache modules + + + Neko is a high-level dynamically typed programming language. It can be + used as an embedded scripting language. It has been designed to provide + a common runtime for several different languages. Learning and using + Neko is very easy. You can easily extend the language with C libraries. + You can also write generators from your own language to Neko and then + use the Neko Runtime to compile, run, and access existing libraries. + + + https://github.com/HaxeFoundation/neko/issues/ + HaxeFoundation/neko + + diff --git a/dev-lang/neko/neko-2.3.0-r1.ebuild b/dev-lang/neko/neko-2.3.0-r1.ebuild new file mode 100644 index 000000000000..c078c06afa2c --- /dev/null +++ b/dev-lang/neko/neko-2.3.0-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Neko is a high-level dynamically typed programming language" +HOMEPAGE="https://nekovm.org/" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/HaxeFoundation/${PN}.git" +else + # 2.3.0 -> 2-3-0 + MY_PV="${PV//./-}" + SRC_URI="https://github.com/HaxeFoundation/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${PN}-${MY_PV}" +fi + +LICENSE="MIT" +SLOT="0/${PV}" +IUSE="apache mysql sqlite ssl" + +DEPEND=" + dev-libs/boehm-gc:= + dev-libs/libpcre:= + sys-libs/zlib:= + apache? ( www-servers/apache:2= ) + mysql? ( dev-db/mysql:= ) + sqlite? ( dev-db/sqlite:3= ) + ssl? ( + dev-libs/openssl:= + net-libs/mbedtls:= + ) +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DRUN_LDCONFIG=OFF + -DWITH_NEKOML=ON + -DWITH_REGEXP=ON + -DWITH_UI=OFF + -DWITH_APACHE=$(usex apache) + -DWITH_MYSQL=$(usex mysql) + -DWITH_SQLITE=$(usex sqlite) + -DWITH_SSL=$(usex ssl) + ) + cmake_src_configure +} -- cgit v1.2.3