Files
guru/media-libs/glee/glee-5.4.0.ebuild
Lucio Sauer ac590ef701 media-libs/*: fix variable order
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
Signed-off-by: Julien Roy <julien@jroy.ca>
2024-05-14 16:37:53 -04:00

40 lines
793 B
Bash

# Copyright 1999-2022 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"
S="${WORKDIR}"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs"
RDEPEND="virtual/opengl"
DEPEND="${RDEPEND}"
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/lib/pkgconfig
newins "${FILESDIR}/${P}.pc" glee.pc
}