blob: 0e44fdd794b72b5400df7f65a10c55f5e5ff61c3 (
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-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/tc2/tc2-0.5.4.ebuild,v 1.2 2004/02/22 20:13:13 agriffis Exp $
IUSE="static debug"
S=${WORKDIR}/${P}
DESCRIPTION="TC2 is a library to simplify writing of modular programs."
HOMEPAGE="http://tc2.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="OpenSoftware"
KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~ia64 ~amd64"
DEPEND=">=dev-libs/libtc-0.6.0"
src_compile() {
local myconf
myconf="--with-gnu-ld"
use debug && myconf="${myconf} --enable-debug"
use static && myconf="${myconf} --enable-static"
econf ${myconf} || die "configure failed"
make || die
}
src_install() {
make DESTDIR=${D} install || die
}
|