summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/glm/glm-0.9.5.1.ebuild')
-rw-r--r--media-libs/glm/glm-0.9.5.1.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/media-libs/glm/glm-0.9.5.1.ebuild b/media-libs/glm/glm-0.9.5.1.ebuild
new file mode 100644
index 000000000000..7498c75d7352
--- /dev/null
+++ b/media-libs/glm/glm-0.9.5.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 doc/${PN}.pdf
+ cd ${PN}
+ insinto /usr/include/${PN}
+ doins -r *.hpp detail gtc gtx virtrev
+ rm "${D}"/usr/include/${PN}/detail/*cpp
+}