From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-lang/open-cobol/open-cobol-1.1.ebuild | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 dev-lang/open-cobol/open-cobol-1.1.ebuild (limited to 'dev-lang/open-cobol/open-cobol-1.1.ebuild') diff --git a/dev-lang/open-cobol/open-cobol-1.1.ebuild b/dev-lang/open-cobol/open-cobol-1.1.ebuild new file mode 100644 index 000000000000..d3cf41c69b00 --- /dev/null +++ b/dev-lang/open-cobol/open-cobol-1.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils + +DESCRIPTION="an open-source COBOL compiler" +HOMEPAGE="http://www.opencobol.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="berkdb nls readline" + +RDEPEND="dev-libs/gmp + berkdb? ( =sys-libs/db-4* ) + sys-libs/ncurses + readline? ( sys-libs/readline )" +DEPEND="${RDEPEND} + sys-devel/libtool" + +src_compile() { + 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 +} -- cgit v1.2.3