/[gentoo-x86]/media-libs/freeglut/freeglut-2.8.0.ebuild
Gentoo

Contents of /media-libs/freeglut/freeglut-2.8.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Thu May 10 18:28:01 2012 UTC (2 years, 9 months ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +2 -2 lines
keyword ~amd64-fbsd

(Portage version: 2.2.0_alpha103/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/freeglut/freeglut-2.8.0.ebuild,v 1.8 2012/05/06 16:47:13 armin76 Exp $
4
5 EAPI=4
6 inherit eutils libtool
7
8 DESCRIPTION="A completely OpenSourced alternative to the OpenGL Utility Toolkit (GLUT) library"
9 HOMEPAGE="http://freeglut.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
11
12 LICENSE="MIT"
13 SLOT="0"
14 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
15 IUSE="debug static-libs"
16
17 RDEPEND="virtual/glu
18 virtual/opengl
19 x11-libs/libX11
20 x11-libs/libXext
21 >=x11-libs/libXi-1.3
22 x11-libs/libXrandr
23 x11-libs/libXxf86vm"
24 DEPEND="${RDEPEND}
25 x11-proto/inputproto
26 x11-proto/xproto"
27
28 DOCS="AUTHORS ChangeLog NEWS README TODO"
29
30 src_prepare() {
31 # Please read the comments in the patch before thinking about dropping it
32 # yet again...
33 epatch "${FILESDIR}"/${PN}-2.4.0-bsd-usb-joystick.patch
34
35 # Needed for sane .so versionning on bsd, please don't drop
36 elibtoolize
37 }
38
39 src_configure() {
40 econf \
41 $(use_enable static-libs static) \
42 --enable-replace-glut \
43 $(use_enable debug)
44 }
45
46 src_install() {
47 default
48 dohtml -r doc
49 find "${ED}" -name '*.la' -exec rm -f {} +
50 }

  ViewVC Help
Powered by ViewVC 1.1.20