Сравнение ii-1.9 с ii-2.0
/usr/portage/net-irc/ii/ii-2.0.ebuild 2023-10-09 14:52:34.460368475 +0300 | ||
---|---|---|
11 | 11 | |
12 | 12 |
LICENSE="MIT" |
13 | 13 |
SLOT="0" |
14 |
KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 ~riscv x86 ~amd64-linux" |
|
15 | ||
16 |
src_prepare() { |
|
17 |
default |
|
18 | ||
19 |
sed -i -e '/^LDFLAGS/{s:-s::g; s:= :+= :g}' \ |
|
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 |
|
24 |
} |
|
14 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux" |
|
25 | 15 | |
26 | 16 |
src_compile() { |
27 | 17 |
emake CC="$(tc-getCC)" |
... | ... | |
30 | 20 |
src_install() { |
31 | 21 |
emake \ |
32 | 22 |
DESTDIR="${D}" \ |
33 |
PREFIX="${EPREFIX}"/usr \ |
|
23 |
PREFIX="${EPREFIX}/usr" \ |
|
24 |
DOCPREFIX="${EPREFIX}/usr/share/doc/${PF}" \ |
|
34 | 25 |
install |
35 | 26 |
} |