diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-24 13:10:40 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-24 13:10:40 +0000 |
commit | c92d0cd2b34d17bce6d5bb4e3a4fc00af4193c99 (patch) | |
tree | 517559f918260cf91e7bdd4e484aa6fe9085cb9f /dev-lang/gnucobol | |
parent | a59ffccce3bf214fae9932cc42400eeeaec25c6c (diff) |
gentoo auto-resync : 24:11:2022 - 13:10:39
Diffstat (limited to 'dev-lang/gnucobol')
-rw-r--r-- | dev-lang/gnucobol/Manifest | 5 | ||||
-rw-r--r-- | dev-lang/gnucobol/gnucobol-1.1.ebuild | 42 | ||||
-rw-r--r-- | dev-lang/gnucobol/gnucobol-3.1.2.ebuild | 38 | ||||
-rw-r--r-- | dev-lang/gnucobol/metadata.xml | 14 |
4 files changed, 99 insertions, 0 deletions
diff --git a/dev-lang/gnucobol/Manifest b/dev-lang/gnucobol/Manifest new file mode 100644 index 000000000000..20ef8d104484 --- /dev/null +++ b/dev-lang/gnucobol/Manifest @@ -0,0 +1,5 @@ +DIST gnucobol-3.1.2.tar.xz 2198512 BLAKE2B ccf9252bc4d5e64e966cea483981da36155767a5879967be7226fbcd8f13d8b427558de3a25cc8638f9156882b6f368acbf3e84d5e2ee68bd5754a6a513ac7d6 SHA512 738149c9d3e01140e4036b041f4eaa6c7caf7848a87146a3dd9940a9f17006805fd3c6b169d346bf01a0c2e671655080978c0f3182a85389f8f8a373ca8c1435 +DIST open-cobol-1.1.tar.gz 1007791 BLAKE2B 9154590626d885a75043c2426c1fafb146e0f7213d05f353f6d01c0e6b8cd8073e12f454a19ae1d3c712606f1c15958f241a7c54f76c995d0ce396d1eba1a0b0 SHA512 eb06cec456425ba5f4a091ae4ac0bfd14f38549bc147c606a022804f602102df6dbf0d399614f0eda49d50dee17eef55087748853a8cc8bdd1248f94fd09110c +EBUILD gnucobol-1.1.ebuild 930 BLAKE2B aaa284174e8c56a5747adc934305425854ff74f1f3abb7d27a343b5373b278d7e5bf48a03284dc431fcfe79567e8430d9e24efb0c82745ad91da53f2eda481b5 SHA512 e13dbf1d2ee43567bfa74d97fceb224004ac8acc9f06e123f94c4d1c4fbcedf1b8d5a67edbb86604f027c464578cc0ca91bf38b292a84c5f05e9079025b03ee7 +EBUILD gnucobol-3.1.2.ebuild 784 BLAKE2B 3d322e314523d5ae413e1c369bdbeaaae9ea921a277085be78c64ef1887aad6dca0c76b34102f1b0b3e3e18bd6e7f858c9485dd0aa932fe48cbf7d394fa178bf SHA512 092d48ea3fa2606e5126909ad4bf8d185b674500ee588e5d45122da321920a9fac972c093c9e684924bd513720aa5f799fa907cb22de8499f2023f9b36f28b30 +MISC metadata.xml 443 BLAKE2B a5db53a5177af3154eb6c21c12dcd6ddf3d76445143b743768661fe242d9d2aeac41a630e24432e1578d28e4817a02b4fc80b72c1c3719e7cb7499adda4c4245 SHA512 11e0327d7d55ce1c89252688a2a11dfd0e40355dd982f630fab3e2fd5ee6de3ad6264a03a4d409f4c602d28f8c71b39b5c16752815e984f0c140ccd7caa7bf61 diff --git a/dev-lang/gnucobol/gnucobol-1.1.ebuild b/dev-lang/gnucobol/gnucobol-1.1.ebuild new file mode 100644 index 000000000000..fa480cae9180 --- /dev/null +++ b/dev-lang/gnucobol/gnucobol-1.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="open-cobol" +MYP=${MY_PN}-${PV} +# Future proof pkg if maintainer or p-m want to bump to latest GNUCobol + +DESCRIPTION="an open-source COBOL compiler" +HOMEPAGE="https://sourceforge.net/projects/open-cobol/" +SRC_URI="mirror://sourceforge/${MY_PN}/${MYP}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +# License must be changed to GPL-3+ if/when pkgmove is done +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="berkdb nls readline" + +RDEPEND="dev-libs/gmp:0= + berkdb? ( sys-libs/db:4.8= ) + sys-libs/ncurses + readline? ( sys-libs/readline )" +DEPEND="${RDEPEND} + sys-devel/libtool" + +DOCS=( AUTHORS ChangeLog NEWS README ) + +S="${WORKDIR}"/${MYP} + +src_configure() { + econf \ + $(use_with berkdb db) \ + $(use_enable nls) \ + $(use_with readline) \ + --disable-static +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} diff --git a/dev-lang/gnucobol/gnucobol-3.1.2.ebuild b/dev-lang/gnucobol/gnucobol-3.1.2.ebuild new file mode 100644 index 000000000000..8202373ea8e8 --- /dev/null +++ b/dev-lang/gnucobol/gnucobol-3.1.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A free/libre COBOL compiler" +HOMEPAGE="https://gnucobol.sourceforge.io/" +SRC_URI="mirror://sourceforge/${PN}/$(ver_cut 1-2)/${P}.tar.xz" + +LICENSE="GPL-3 LGPL-3 FDL-1.3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="berkdb json nls xml" + +RDEPEND=" + dev-libs/gmp:= + sys-libs/ncurses:= + json? ( dev-libs/json-c:= ) + xml? ( dev-libs/libxml2 ) + berkdb? ( sys-libs/db:4.8= ) +" +DEPEND="${RDEPEND}" +BDEPEND="sys-devel/libtool" + +DOCS=( AUTHORS ChangeLog NEWS README README.md ) + +src_configure() { + econf \ + $(use_with berkdb db) \ + $(use_with json) \ + $(use_with xml xml2) \ + $(use_enable nls) +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} diff --git a/dev-lang/gnucobol/metadata.xml b/dev-lang/gnucobol/metadata.xml new file mode 100644 index 000000000000..d9f88e1f25d0 --- /dev/null +++ b/dev-lang/gnucobol/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>tupone@gentoo.org</email> + <name>Alfredo Tupone</name> + </maintainer> + <use> + <flag name="json">Enable support for JSON template formatting via <pkg>dev-libs/json-c</pkg></flag> + </use> + <upstream> + <remote-id type="sourceforge">gnucobol</remote-id> + </upstream> +</pkgmetadata> |