Сравнение libnss-nis-3.1 с libnss-nis-3.2
/usr/portage/sys-auth/libnss-nis/libnss-nis-3.2.ebuild 2023-10-09 14:52:35.424368500 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2020 Gentoo Authors |
|
1 |
# Copyright 1999-2023 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 autotools multilib-minimal |
|
6 |
inherit multilib-minimal |
|
7 | 7 | |
8 |
MY_P=${PN/-/_}-${PV} |
|
8 | 9 |
DESCRIPTION="NSS module to provide NIS support" |
9 | 10 |
HOMEPAGE="https://github.com/thkukuk/libnss_nis" |
10 |
SRC_URI="https://github.com/thkukuk/libnss_nis/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|
11 |
SRC_URI="https://github.com/thkukuk/libnss_nis/releases/download/v${PV}/${MY_P}.tar.xz" |
|
12 |
S="${WORKDIR}"/${MY_P} |
|
11 | 13 | |
12 | 14 |
LICENSE="LGPL-2.1+ BSD ISC" |
13 | 15 |
SLOT="0" |
14 | 16 |
KEYWORDS="~amd64 ~riscv" |
15 | 17 | |
16 | 18 |
RDEPEND=" |
17 |
>net-libs/libnsl-0:0=[${MULTILIB_USEDEP}] |
|
18 |
net-libs/libtirpc:0=[${MULTILIB_USEDEP}] |
|
19 |
>net-libs/libnsl-0:=[${MULTILIB_USEDEP}] |
|
20 |
net-libs/libtirpc:=[${MULTILIB_USEDEP}] |
|
19 | 21 |
!<sys-libs/glibc-2.26 |
20 | 22 |
" |
21 |
DEPEND="${RDEPEND} |
|
22 |
virtual/pkgconfig |
|
23 |
" |
|
24 | ||
25 |
S=${WORKDIR}/libnss_nis-${PV} |
|
26 | ||
27 |
src_prepare() { |
|
28 |
default |
|
29 |
eautoreconf |
|
30 |
} |
|
23 |
DEPEND="${RDEPEND}" |
|
24 |
BDEPEND="virtual/pkgconfig" |
|
31 | 25 | |
32 | 26 |
multilib_src_configure() { |
33 | 27 |
local myconf=( |
34 | 28 |
--enable-shared |
35 |
--disable-static |
|
36 | 29 |
) |
37 |
ECONF_SOURCE=${S} econf "${myconf[@]}" |
|
30 | ||
31 |
ECONF_SOURCE="${S}" econf "${myconf[@]}" |
|
38 | 32 |
} |
39 | 33 | |
40 | 34 |
multilib_src_install_all() { |