Сравнение ii-1.8 с ii-1.9
/usr/portage/net-irc/ii/ii-1.9.ebuild 2023-10-09 14:52:34.460368475 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | ||
5 | 6 |
inherit toolchain-funcs |
6 | 7 | |
7 | 8 |
DESCRIPTION="A minimalist FIFO and filesystem-based IRC client" |
... | ... | |
10 | 11 | |
11 | 12 |
LICENSE="MIT" |
12 | 13 |
SLOT="0" |
13 |
KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux" |
|
14 |
KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 ~riscv x86 ~amd64-linux" |
|
14 | 15 | |
15 | 16 |
src_prepare() { |
16 | 17 |
default |
17 | 18 | |
18 | 19 |
sed -i -e '/^LDFLAGS/{s:-s::g; s:= :+= :g}' \ |
19 |
-e '/^CFLAGS/{s: -Os::g; s:= :+= :g}' config.mk || die |
|
20 |
-e '/^CFLAGS/{s: -Os::g; s:= :+= :g}' \ |
|
21 |
-e 's|doc|doc/${PF}|' config.mk || die |
|
22 | ||
23 |
sed -i -e 's|(DOCPREFIX)/ii|(DOCPREFIX)|' Makefile || die |
|
20 | 24 |
} |
21 | 25 | |
22 | 26 |
src_compile() { |
... | ... | |
27 | 31 |
emake \ |
28 | 32 |
DESTDIR="${D}" \ |
29 | 33 |
PREFIX="${EPREFIX}"/usr \ |
30 |
DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \ |
|
31 | 34 |
install |
32 | 35 |
} |