summaryrefslogtreecommitdiff
blob: e2be10f0252c536de7335f218ef424bcaa66f97f (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/korelib/korelib-1.0.ebuild,v 1.2 2002/10/04 05:15:29 vapier Exp $

#A="korelib-1.0.tar.gz"
S=${WORKDIR}/${P}
DESCRIPTION="theKompany's cross-platform c++ library for developing modular applications"
SRC_URI="ftp://ftp.rygannon.com/pub/Korelib/${P}.tar.gz"
HOMEPAGE="http://www.thekompany.com/projects/korelib/"

DEPEND="virtual/glibc"
RDEPEND="${DEPEND}"

LICENSE="GPL-2 | commercial"
SLOT="1"
KEYWORDS="x86"

src_compile() {
	#this is really weird - lib developers did not run automake themselves
	#leaving this to the "end users"
	automake

	./configure \
		--host=${CHOST} --prefix=/usr || die "configure failed"

	emake || die
}

src_install() {
	make DESTDIR=${D} install
	
	#the lib installs one binary with by the name "demo" - baad choice
	mv ${D}/usr/bin/demo ${D}/usr/bin/kore-demo

	dodoc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
}