public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/algol68g/files/, dev-lang/algol68g/
@ 2023-09-15 12:25 Maciej Barć
  0 siblings, 0 replies; only message in thread
From: Maciej Barć @ 2023-09-15 12:25 UTC (permalink / raw
  To: gentoo-commits

commit:     9b5457aa15c537cd57e196b85c74bb4e526a51e5
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 15 10:22:32 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Sep 15 12:25:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b5457aa

dev-lang/algol68g: new package; add 3.3.21

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-lang/algol68g/Manifest                         |  1 +
 dev-lang/algol68g/algol68g-3.3.21.ebuild           | 41 ++++++++++++++++++++++
 .../files/algol68g-3.3.21-configure-implicit.patch | 13 +++++++
 dev-lang/algol68g/metadata.xml                     | 20 +++++++++++
 4 files changed, 75 insertions(+)

diff --git a/dev-lang/algol68g/Manifest b/dev-lang/algol68g/Manifest
new file mode 100644
index 000000000000..04eb5470fd40
--- /dev/null
+++ b/dev-lang/algol68g/Manifest
@@ -0,0 +1 @@
+DIST algol68g-3.3.21.tar.gz 660179 BLAKE2B 43f666cec1f77c3b7056221ab18bcc0bf458b6d6fe1d6c361709683993152aac6957068b09d8c47cc8441233739e7450ff126b1153bbbc272831c5200dde89a6 SHA512 18e3f431477fd282726858ae0b5abfe1f695a1f2ad9799437c0ce58808749c876067f2ccafc38b7baef392b1a7543fc389325dae0acfb60e19e2ef084423f719

diff --git a/dev-lang/algol68g/algol68g-3.3.21.ebuild b/dev-lang/algol68g/algol68g-3.3.21.ebuild
new file mode 100644
index 000000000000..f1c0cc53d018
--- /dev/null
+++ b/dev-lang/algol68g/algol68g-3.3.21.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Algol 68 Genie compiler-interpreter"
+HOMEPAGE="https://jmvdveer.home.xs4all.nl/en.algol-68-genie.html"
+SRC_URI="https://jmvdveer.home.xs4all.nl/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+curl +gsl +mpfr +ncurses plotutils postgres +readline"
+
+RDEPEND="
+	curl? ( net-misc/curl )
+	gsl? ( sci-libs/gsl:= )
+	mpfr? ( dev-libs/mpfr:= )
+	plotutils? ( media-libs/plotutils )
+	postgres? ( dev-db/postgresql:* )
+	readline? ( sys-libs/readline:= )
+"
+DEPEND="
+	${RDEPEND}
+"
+
+PATCHES=( "${FILESDIR}/${PN}-3.3.21-configure-implicit.patch" )
+
+src_configure() {
+	local -a myconf=(
+		$(use_enable curl)
+		$(use_enable gsl)
+		$(use_enable mpfr)
+		$(use_enable ncurses curses)
+		$(use_enable plotutils)
+		$(use_enable postgres postgresql)
+		$(use_enable readline)
+		$(use_with ncurses)
+	)
+	econf "${myconf[@]}"
+}

diff --git a/dev-lang/algol68g/files/algol68g-3.3.21-configure-implicit.patch b/dev-lang/algol68g/files/algol68g-3.3.21-configure-implicit.patch
new file mode 100644
index 000000000000..4a8d96b1ad14
--- /dev/null
+++ b/dev-lang/algol68g/files/algol68g-3.3.21-configure-implicit.patch
@@ -0,0 +1,13 @@
+--- a/configure
++++ b/configure
+@@ -5568,6 +5568,10 @@ else $as_nop
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
+ 
++#include <gnu/libc-version.h>
++#include <stdlib.h>
++#include <stdio.h>
++
+ int
+ main (void)
+ {

diff --git a/dev-lang/algol68g/metadata.xml b/dev-lang/algol68g/metadata.xml
new file mode 100644
index 000000000000..146f78f15425
--- /dev/null
+++ b/dev-lang/algol68g/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+  <maintainer type="person">
+    <email>xgqt@gentoo.org</email>
+    <name>Maciej Barć</name>
+  </maintainer>
+  <longdescription>
+    Algol 68 Genie is free software distributed under the GNU General Public
+    License; it is a fast compiler-interpreter which ranks among the most
+    complete implementations of the language.
+  </longdescription>
+  <use>
+    <flag name="mpfr">Add support for multiprecision floating point rouding</flag>
+  </use>
+  <upstream>
+    <bugs-to>mailto:algol68g@xs4all.nl</bugs-to>
+  </upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-09-15 12:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-15 12:25 [gentoo-commits] repo/gentoo:master commit in: dev-lang/algol68g/files/, dev-lang/algol68g/ Maciej Barć

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox