summaryrefslogtreecommitdiff
blob: 0387c9ca75704f01cbc77dbb31e04cf5a35d7210 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/ViewKlass/ViewKlass-0.6.0.ebuild,v 1.8 2004/06/24 22:08:22 agriffis Exp $

IUSE=""

DESCRIPTION="An implementation of the ViewKit user interface library"
SRC_URI="mirror://sourceforge/viewklass/${P}.tar.gz"
RESTRICT="nomirror"
HOMEPAGE="http://viewklass.sourceforge.net"
LICENSE="LGPL-2.1"

DEPEND="x11-libs/openmotif"

SLOT="0"
KEYWORDS="~x86 ~sparc"

src_compile() {
	zcat ${FILESDIR}/${P}-gentoo.patch| patch -p1 || die
	./configure --prefix=/usr || die "./configure failed"
	make CXXFLAGS="${CXXFLAGS} -I. -I/usr/X11R6/include" \
		CFLAGS="${CXXFLAGS} -I. -I/usr/X11R6/include" || die
}

src_install () {
	dodir /usr/lib
	make prefix=${D}/usr install || die
	dodoc INSTALL COPYING
}