summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/glm/files/glm.pc7
-rw-r--r--media-libs/glm/glm-0.9.9.6.ebuild2
2 files changed, 9 insertions, 0 deletions
diff --git a/media-libs/glm/files/glm.pc b/media-libs/glm/files/glm.pc
new file mode 100644
index 000000000000..e3bb5acc1aff
--- /dev/null
+++ b/media-libs/glm/files/glm.pc
@@ -0,0 +1,7 @@
+prefix=/usr
+includedir=${prefix}/include
+
+Name: GLM
+Description: OpenGL Mathematics
+Version: 0.9.9
+Cflags: -I${includedir}
diff --git a/media-libs/glm/glm-0.9.9.6.ebuild b/media-libs/glm/glm-0.9.9.6.ebuild
index 6e35cfa670b7..8b84a358e2b7 100644
--- a/media-libs/glm/glm-0.9.9.6.ebuild
+++ b/media-libs/glm/glm-0.9.9.6.ebuild
@@ -33,4 +33,6 @@ src_configure() {
src_install() {
doheader -r glm
dodoc -r *md doc/*
+ insinto /usr/$(get_libdir)/pkgconfig
+ doins "${FILESDIR}"/glm.pc
}