summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/glm/glm-0.9.3.2.ebuild')
-rw-r--r--media-libs/glm/glm-0.9.3.2.ebuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/media-libs/glm/glm-0.9.3.2.ebuild b/media-libs/glm/glm-0.9.3.2.ebuild
new file mode 100644
index 000000000000..3d2a439dc55a
--- /dev/null
+++ b/media-libs/glm/glm-0.9.3.2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+DESCRIPTION="OpenGL Mathematics"
+HOMEPAGE="http://glm.g-truc.net/"
+SRC_URI="mirror://sourceforge/ogl-math/${P}.zip"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="app-arch/unzip"
+
+src_install() {
+ dodoc doc/${PN}-0.9.3.pdf
+ cd ${PN}
+ insinto /usr/include/${PN}
+ doins -r *.hpp core gtc gtx virtrev
+ rm "${D}"/usr/include/${PN}/core/*cpp
+}