summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2019-09-10 08:47:50 +0200
committerTupone Alfredo <tupone@gentoo.org>2019-09-10 08:47:50 +0200
commit4524f4ea0d795dc109c5499f471160b2e7d9d338 (patch)
tree45fb8da67dd73424a004238f64c1a1e48fe3089d /media-libs/glm
parentdev-ruby/rex-text: add 0.2.23 (diff)
downloadgentoo-4524f4ea0d795dc109c5499f471160b2e7d9d338.tar.gz
gentoo-4524f4ea0d795dc109c5499f471160b2e7d9d338.tar.bz2
gentoo-4524f4ea0d795dc109c5499f471160b2e7d9d338.zip
media-libs/glm: re-add glm.pc
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'media-libs/glm')
-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
}