summaryrefslogtreecommitdiff
blob: 6c2e51db003026f6dd1500c82ce75880bb3179ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/open-cobol/open-cobol-0.23.ebuild,v 1.1 2003/06/19 22:21:24 george Exp $

DESCRIPTION="an open-source COBOL compiler"
HOMEPAGE="http://www.open-cobol.org/"
SRC_URI="mirror://sourceforge/open-cobol/${P}.tar.gz"

LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="~x86"
IUSE="nls readline ncurses"

DEPEND="sys-devel/libtool
	>=dev-libs/gmp-3.1.1
	>=sys-libs/db-2.0
	readline? ( sys-libs/readline )
	ncurses? ( >=sys-libs/ncurses-5.2 )"

S=${WORKDIR}/${P}

src_compile() {

	econf \
		$(use_enable nls) \
		$(use_with readline)
	emake
}

src_install() {

	einstall
	dodoc ABOUT-NLS AUTHORS ChangeLog INSTALL NEWS README
}