public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: media-libs/glee/
@ 2023-12-14 19:38 Pascal Jäger
  0 siblings, 0 replies; only message in thread
From: Pascal Jäger @ 2023-12-14 19:38 UTC (permalink / raw
  To: gentoo-commits

commit:     07c48144afb31f4fe9a85b76024d7c8fb8fdf3e9
Author:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
AuthorDate: Thu Dec 14 19:37:22 2023 +0000
Commit:     Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
CommitDate: Thu Dec 14 19:38:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=07c48144

media-libs/glee: use get_libdir instead of /usr/lib

Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de>

 media-libs/glee/glee-5.4.0-r1.ebuild | 38 ++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/media-libs/glee/glee-5.4.0-r1.ebuild b/media-libs/glee/glee-5.4.0-r1.ebuild
new file mode 100644
index 0000000000..93b296c4db
--- /dev/null
+++ b/media-libs/glee/glee-5.4.0-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="OpenGL Easy Extension library"
+HOMEPAGE="https://elf-stone.com/glee.php"
+SRC_URI="https://elf-stone.com/downloads/GLee/GLee-${PV}-src.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+RDEPEND="virtual/opengl"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"
+src_prepare() {
+	default
+	eapply -p0 "${FILESDIR}/${PN}-autotools.patch"
+	eautoreconf || die
+}
+
+src_configure() {
+	econf \
+		$(use_enable static-libs static)
+}
+
+src_install() {
+	emake DESTDIR="${D}" install || die
+	find "${ED}" -type f -name '*.la' -delete || die
+	dodoc readme.txt extensionList.txt || die
+	insinto /usr/$(get_libdir)/pkgconfig
+	newins "${FILESDIR}/${P}.pc" glee.pc
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-14 19:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-14 19:38 [gentoo-commits] repo/proj/guru:dev commit in: media-libs/glee/ Pascal Jäger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox