blob: 3c20b767da7f78d39d44193f5f4e4c2ddb097ee9 (
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
42
43
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkglarea/gtkglarea-1.99.0.ebuild,v 1.28 2005/07/16 01:07:43 allanonjl Exp $
inherit gnome2 gnuconfig multilib
DESCRIPTION="GL extensions for gtk+"
HOMEPAGE="http://www.gnome.org/"
LICENSE="GPL-2 LGPL-2.1"
SLOT="2"
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sparc x86"
IUSE=""
DOCS="AUTHORS ChangeLog INSTALL NEWS README* docs/*.txt"
RDEPEND="virtual/libc
>=x11-libs/gtk+-2.0.3
virtual/glu
virtual/opengl"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_unpack() {
unpack ${A}
cd ${S}
if [ $(get_libdir) != "lib" ] ; then
libtoolize --copy --force || die "libtoolize failed"
aclocal || die "aclocal failed"
autoconf || die "autoconf failed"
fi
}
src_compile() {
gnuconfig_update
econf || die
emake || die
}
src_install() {
gnome2_src_install libdir=${D}/usr/$(get_libdir)
}
|