mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 14:03:33 -04:00
media-libs/glee: use get_libdir instead of /usr/lib
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
This commit is contained in:
38
media-libs/glee/glee-5.4.0-r1.ebuild
Normal file
38
media-libs/glee/glee-5.4.0-r1.ebuild
Normal file
@@ -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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user