blob: 44c7822f2908e90fa48f0107e3d473c90c4723af (
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
35
36
37
38
39
40
41
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/tinycobol/tinycobol-0.61.ebuild,v 1.8 2008/12/08 22:54:43 phosphan Exp $
inherit eutils
DESCRIPTION="COBOL for linux"
HOMEPAGE="http://tiny-cobol.sourceforge.net/"
SRC_URI="mirror://sourceforge/tiny-cobol/${P}.tar.gz"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
IUSE=""
KEYWORDS="x86 ppc"
DEPEND=">=dev-libs/glib-2.0
sys-libs/db"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}.patch
}
src_compile() {
econf || die
make || die "make failed"
}
src_install() {
dodir /usr/bin
dodir /usr/man/man1
dodir /usr/lib
dodir /usr/share/htcobol
make prefix="${D}/usr" install
dodoc AUTHORS ChangeLog README STATUS
cd "${D}"/usr/lib
rm libhtcobol.so libhtcobol.so.0
ln -s libhtcobol.so.0.* libhtcobol.so.0
ln -s libhtcobol.so.0 libhtcobol.so
}
|