From 7bc9c63c9da678a7e6fceb095d56c634afd22c56 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 15 Dec 2019 18:09:03 +0000 Subject: gentoo resync : 15.12.2019 --- dev-lang/open-cobol/Manifest | 2 +- dev-lang/open-cobol/open-cobol-1.1.ebuild | 29 ++++++++++++++--------------- 2 files changed, 15 insertions(+), 16 deletions(-) (limited to 'dev-lang/open-cobol') diff --git a/dev-lang/open-cobol/Manifest b/dev-lang/open-cobol/Manifest index ab6dd84ea710..c099f02aad49 100644 --- a/dev-lang/open-cobol/Manifest +++ b/dev-lang/open-cobol/Manifest @@ -1,3 +1,3 @@ DIST open-cobol-1.1.tar.gz 1007791 BLAKE2B 9154590626d885a75043c2426c1fafb146e0f7213d05f353f6d01c0e6b8cd8073e12f454a19ae1d3c712606f1c15958f241a7c54f76c995d0ce396d1eba1a0b0 SHA512 eb06cec456425ba5f4a091ae4ac0bfd14f38549bc147c606a022804f602102df6dbf0d399614f0eda49d50dee17eef55087748853a8cc8bdd1248f94fd09110c -EBUILD open-cobol-1.1.ebuild 764 BLAKE2B 2e6bb281b63af5a52831fcf5c965c217d7f1a610db0b00dd2ab97b88fd698ad0a4c33b1429c4a6e110f9be8489e6d66b24203961a4f47bf2032221fabc544297 SHA512 d22aea765623903269f263d0cec017cfbe4ada3fb5be42b93deeef0666f9a0cc233913ff533ee699c565488fd36d09f637834af523e0df41bdb4681098c110db +EBUILD open-cobol-1.1.ebuild 814 BLAKE2B 0597053d764d537c051aeb09bcf1c81a9e70f7ad595b7630669318a6ee8e12f0d1bc87ee550db64fa0bb1e3ce2e8b4263669b04fa721cc467bfd7f6299334934 SHA512 83b1f373818bee78a3ad61dfeb0998ef5c8621221e6356d2df16d480012f3e2f4384576807bfc1359bd0e0dca5af16cb21ef537a412f07d11fef5691a089657b MISC metadata.xml 327 BLAKE2B ed14fa0be405952fbfef1cdf2b18aa7ca5f627c41fd10d98ce29218d77de5e3475ccc410a49b1443d8145c013ffcdcbd6bdd0b33e8f9416c6bbccd12217a0baa SHA512 955b474d83164c7c8f0259d0b644b2c2805112bd57415f6618f0c96bc87551c5bd1adb9c3de9d571e7f1cb1090c7c96b4197f82fc55ce61a28d273b67bccc518 diff --git a/dev-lang/open-cobol/open-cobol-1.1.ebuild b/dev-lang/open-cobol/open-cobol-1.1.ebuild index a34d440d937b..83ba13532f67 100644 --- a/dev-lang/open-cobol/open-cobol-1.1.ebuild +++ b/dev-lang/open-cobol/open-cobol-1.1.ebuild @@ -1,35 +1,34 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 -inherit eutils +MY_PN="open-cobol" +# Future proof pkg if maintainer or p-m want to bump to latest GNUCobol DESCRIPTION="an open-source COBOL compiler" -HOMEPAGE="http://www.opencobol.org/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +HOMEPAGE="https://sourceforge.net/projects/open-cobol/" +SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}-${PV}.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 - berkdb? ( =sys-libs/db-4* ) +RDEPEND="dev-libs/gmp:0= + berkdb? ( sys-libs/db:4.8= ) sys-libs/ncurses readline? ( sys-libs/readline )" DEPEND="${RDEPEND} sys-devel/libtool" -src_compile() { +DOCS=( AUTHORS ChangeLog NEWS README ) + +src_configure() { econf \ $(use_with berkdb db) \ $(use_enable nls) \ - $(use_with readline) || die "econf failed." - emake || die "emake failed." -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed." - dodoc AUTHORS ChangeLog NEWS README + $(use_with readline) + default } -- cgit v1.2.3