dev-lang/gnu-apl: new package, add 1.8

Signed-off-by: Laura Aino Violetta Aléanor <lav@vampires.gay>
This commit is contained in:
Laura Aino Violetta Aléanor
2023-04-30 19:27:10 +02:00
parent 6cc93ed829
commit 3c688d1898
3 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST apl-1.8.tar.gz 3565018 BLAKE2B fb1ff3a0c1b22fbd0b03f270d6fdc2d5a5efb83aa7d5ad675d8a6b40b4446663a3f76e80602491c621404d9283bda5ccd146f82bbda7f088f279662e0e3d01e1 SHA512 7b903f2d280bba85fd4efb7c5f26e969930c34fdf4667b93adc445521b2eb19cba54f602d823ed56d31d6d596ffce29479c870a110a41f91aa5b7e1747000b54

View File

@@ -0,0 +1,32 @@
# Copyright 2022-2023 Laura Aléanor
# Distributed under the terms of the GNU General Public License v3 or later
EAPI=8
DESCRIPTION="GNU interpreter for the APL programming language"
HOMEPAGE="https://www.gnu.org/software/apl/"
SRC_URI="mirror://gnu/apl/apl-${PV}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
S="${WORKDIR}/apl-${PV}"
IUSE="static-libs erlang libapl python gtk3 pcre2 sqlite3 postgresql"
RDEPEND="gtk3? ( >=gui-libs/gtk-3.0.0 )
sqlite3? ( >=dev-db/sqlite-3.0.0 )
postgresql? ( dev-db/postgresql )
pcre2? ( dev-libs/libpcre2 )"
src_configure () {
econf $(use_enable static-libs static)\
$(use erlang && echo --with-erlang)\
$(use libapl && echo --with-libapl)\
$(use python && echo --with-python)\
$(use gtk3 && echo --with-gtk3)\
$(use pcre2 && echo --with-pcre)\
$(use sqlite3 && echo --with-sqlite3)\
$(use postgresql && echo --with-postgresql)\
CXX_WERROR=no
}

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lav@vampires.gay</email>
<name>Laura Aléanor</name>
</maintainer>
<use>
<flag name="erlang">Build the Erlang interface</flag>
<flag name="python">Build the Python extension lib_gnu_apl.so</flag>
<flag name="gtk3">Include the interface to gtk3</flag>
<flag name="libapl">Build as a shared library rather than an executable</flag>
<flag name="pcre2">Enable pcre2</flag>
<flag name="postgresql">Use postrgesql</flag>
<flag name="sqlite3">Use sqlite3</flag>
</use>
</pkgmetadata>