summaryrefslogtreecommitdiff
blob: 42e57cce14ac9af10fc43256d91815d300caec82 (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
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/glm/glm-0.9.6.1.ebuild,v 1.3 2015/02/15 14:59:07 ago Exp $

EAPI=5

DESCRIPTION="OpenGL Mathematics"
HOMEPAGE="http://glm.g-truc.net/"
SRC_URI="mirror://sourceforge/ogl-math/${P}.zip"

S="${WORKDIR}/${PN}"

LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm x86"
IUSE=""

RDEPEND=""
DEPEND="app-arch/unzip"

src_install() {
	dodoc readme.txt doc/${PN}.pdf
	cd ${PN} || die
	insinto /usr/include/${PN}
	doins -r *.hpp detail gtc gtx
	rm "${ED}"usr/include/${PN}/detail/*.cpp || die
}