summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-lang/open-cobol/ChangeLog9
-rw-r--r--dev-lang/open-cobol/open-cobol-1.0.ebuild35
2 files changed, 43 insertions, 1 deletions
diff --git a/dev-lang/open-cobol/ChangeLog b/dev-lang/open-cobol/ChangeLog
index 1869f36179f2..f0860a5f5b86 100644
--- a/dev-lang/open-cobol/ChangeLog
+++ b/dev-lang/open-cobol/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-lang/open-cobol
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/open-cobol/ChangeLog,v 1.11 2008/03/17 16:00:18 coldwind Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/open-cobol/ChangeLog,v 1.12 2008/03/17 16:12:20 coldwind Exp $
+
+*open-cobol-1.0 (17 Mar 2008)
+
+ 17 Mar 2008; Santiago M. Mola <coldwind@gentoo.org>
+ +open-cobol-1.0.ebuild:
+ Version bump for #213602, thanks to Chi-Thanh Christopher Nguyen <chithanh
+ at cs.tu-berlin.de>.
17 Mar 2008; Santiago M. Mola <coldwind@gentoo.org> metadata.xml:
Add maintainer-needed to metadata.xml.
diff --git a/dev-lang/open-cobol/open-cobol-1.0.ebuild b/dev-lang/open-cobol/open-cobol-1.0.ebuild
new file mode 100644
index 000000000000..c5402310a689
--- /dev/null
+++ b/dev-lang/open-cobol/open-cobol-1.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/open-cobol/open-cobol-1.0.ebuild,v 1.1 2008/03/17 16:12:20 coldwind Exp $
+
+inherit eutils
+
+DESCRIPTION="an open-source COBOL compiler"
+HOMEPAGE="http://www.open-cobol.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
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog INSTALL NEWS README
+}