Diff znc-clientbuffer-1.0.48 with a znc-clientbuffer-1.0.48-r1
/usr/portage/net-irc/znc-clientbuffer/znc-clientbuffer-1.0.48-r1.ebuild 2023-10-09 14:52:34.468368476 +0300 | ||
---|---|---|
1 |
# Copyright 2022 Gentoo Authors |
|
1 |
# Copyright 2020-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 | ||
6 |
inherit cmake |
|
5 | 7 | |
6 | 8 |
DESCRIPTION="A ZNC module which provides client specific buffers" |
7 | 9 |
HOMEPAGE="https://github.com/CyberShadow/znc-clientbuffer" |
... | ... | |
9 | 11 | |
10 | 12 |
LICENSE="Apache-2.0" |
11 | 13 |
SLOT="0" |
12 |
KEYWORDS="~amd64 ~x86" |
|
14 |
KEYWORDS="~amd64 ~arm64 ~x86" |
|
13 | 15 | |
14 | 16 |
DEPEND=" |
15 | 17 |
net-irc/znc:=" |
16 | 18 | |
17 | 19 |
RDEPEND="${DEPEND}" |
18 | 20 | |
19 |
DOCS=( README.md ) |
|
20 | ||
21 |
_emake() { |
|
22 |
emake \ |
|
23 |
-j1 \ |
|
24 |
PREFIX="${EPREFIX}"/usr \ |
|
25 |
LIBDIR=/$(get_libdir) \ |
|
26 |
"$@" |
|
21 |
src_prepare() { |
|
22 |
cp -v "${FILESDIR}/CMakeLists.txt" "${S}" || die |
|
23 |
cmake_src_prepare |
|
27 | 24 |
} |
28 | 25 | |
29 | 26 |
src_compile() { |
30 |
_emake |
|
27 |
cmake_src_compile |
|
31 | 28 |
} |
32 | 29 | |
33 | 30 |
src_install() { |
34 |
_emake DESTDIR="${ED}" install |
|
31 |
exeinto /usr/$(get_libdir)/znc |
|
32 |
doexe "${BUILD_DIR}"/clientbuffer.so |
|
35 | 33 | |
36 | 34 |
einstalldocs |
37 | 35 |
} |