summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-07-02 22:06:55 +0200
committerDavid Seifert <soap@gentoo.org>2022-07-02 22:06:55 +0200
commit983561f65a26de21f9b65268584ea01ad8905af0 (patch)
tree652a5044fe77bc4044ee1bd483d00a138417a3d3 /app-arch/lz5
parentapp-arch/funzix: update EAPI 6 -> 8 (diff)
downloadgentoo-983561f65a26de21f9b65268584ea01ad8905af0.tar.gz
gentoo-983561f65a26de21f9b65268584ea01ad8905af0.tar.bz2
gentoo-983561f65a26de21f9b65268584ea01ad8905af0.zip
app-arch/lz5: update EAPI 6 -> 8
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-arch/lz5')
-rw-r--r--app-arch/lz5/lz5-2.0-r1.ebuild (renamed from app-arch/lz5/lz5-2.0.ebuild)17
1 files changed, 8 insertions, 9 deletions
diff --git a/app-arch/lz5/lz5-2.0.ebuild b/app-arch/lz5/lz5-2.0-r1.ebuild
index 9a430c70373f..fa598cb0f31f 100644
--- a/app-arch/lz5/lz5-2.0.ebuild
+++ b/app-arch/lz5/lz5-2.0-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
inherit toolchain-funcs
@@ -12,7 +12,6 @@ SRC_URI="https://github.com/inikep/lz5/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2 BSD-2"
SLOT="0/2"
KEYWORDS="~amd64"
-IUSE="static-libs"
src_prepare() {
default
@@ -21,13 +20,13 @@ src_prepare() {
}
src_compile() {
- emake -Clib CC="$(tc-getCC)" lib liblz5.pc
- emake -Cprograms CC="$(tc-getCC)" lz5
+ emake -C lib CC="$(tc-getCC)" lib liblz5.pc
+ emake -C programs CC="$(tc-getCC)" lz5
}
src_install() {
- emake install DESTDIR="${D}" PREFIX="/usr" LIBDIR="/usr/$(get_libdir)"
- if ! use static-libs; then
- rm "${D}"/usr/$(get_libdir)/liblz5.a || die
- fi
+ emake install DESTDIR="${ED}" PREFIX="/usr" LIBDIR="/usr/$(get_libdir)"
+ rm "${ED}"/usr/$(get_libdir)/liblz5.a || die
+
+ einstalldocs
}