summaryrefslogtreecommitdiff
blob: e41de3cab27472a38dca4388f3d2d54c2cec9e22 (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
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/OpenGL/OpenGL-0.670.0.ebuild,v 1.1 2013/07/12 17:05:17 bicatali Exp $

EAPI=4

MODULE_AUTHOR="CHM"
MODULE_VERSION=0.66

inherit perl-module eutils

DESCRIPTION="Perl interface providing graphics display using OpenGL"

LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE=""

RDEPEND="media-libs/freeglut
	x11-libs/libICE
	x11-libs/libXext
	x11-libs/libXi
	x11-libs/libXmu"
DEPEND="${RDEPEND}"

mydoc="Release_Notes"

src_prepare() {
	epatch "${FILESDIR}"/${PN}-0.66-no-display.patch
}

src_compile() {
	sed -i -e 's/PERL_DL_NONLAZY=1//' Makefile || die
	perl-module_src_compile
}