Сравнение pkgconf-1.8.1 с pkgconf-2.0.1
/usr/portage/dev-util/pkgconf/pkgconf-2.0.1.ebuild 2023-10-09 14:52:30.988368388 +0300 | ||
---|---|---|
5 | 5 | |
6 | 6 |
inherit multilib multilib-minimal |
7 | 7 | |
8 |
if [[ ${PV} == "9999" ]] ; then |
|
8 |
if [[ ${PV} == 9999 ]] ; then |
|
9 | 9 |
inherit autotools git-r3 |
10 | 10 |
EGIT_REPO_URI="https://gitea.treehouse.systems/ariadne/pkgconf.git" |
11 | 11 |
else |
12 | 12 |
SRC_URI="https://distfiles.ariadne.space/${PN}/${P}.tar.xz" |
13 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" |
|
13 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" |
|
14 | 14 |
fi |
15 | 15 | |
16 | 16 |
DESCRIPTION="pkg-config compatible replacement with no dependencies other than C99" |
17 | 17 |
HOMEPAGE="https://gitea.treehouse.systems/ariadne/pkgconf" |
18 | 18 | |
19 | 19 |
LICENSE="ISC" |
20 |
SLOT="0/3" |
|
20 |
SLOT="0/4" |
|
21 | 21 |
IUSE="test" |
22 | 22 | |
23 |
# tests require 'kyua' |
|
24 | 23 |
RESTRICT="!test? ( test )" |
25 | 24 | |
26 | 25 |
BDEPEND=" |
... | ... | |
29 | 28 |
dev-util/kyua |
30 | 29 |
) |
31 | 30 |
" |
32 |
RDEPEND=" |
|
33 |
!dev-util/pkgconfig |
|
34 |
" |
|
35 | ||
36 |
MULTILIB_CHOST_TOOLS=( |
|
37 |
/usr/bin/pkgconf$(get_exeext) |
|
38 |
) |
|
31 |
RDEPEND="!dev-util/pkgconfig" |
|
39 | 32 | |
40 | 33 |
src_prepare() { |
41 | 34 |
default |
42 | 35 | |
43 |
[[ ${PV} == "9999" ]] && eautoreconf |
|
44 |
MULTILIB_CHOST_TOOLS+=( |
|
36 |
[[ ${PV} == 9999 ]] && eautoreconf |
|
37 | ||
38 |
MULTILIB_CHOST_TOOLS=( |
|
39 |
/usr/bin/pkgconf |
|
45 | 40 |
/usr/bin/pkg-config$(get_exeext) |
46 | 41 |
) |
47 | 42 |
} |
48 | 43 | |
49 | 44 |
multilib_src_configure() { |
50 |
local ECONF_SOURCE="${S}" |
|
51 |
local args=( |
|
45 |
local myeconfargs=( |
|
52 | 46 |
--with-system-includedir="${EPREFIX}/usr/include" |
53 | 47 |
--with-system-libdir="${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir)" |
54 | 48 |
) |
55 |
econf "${args[@]}" |
|
49 | ||
50 |
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
|
56 | 51 |
} |
57 | 52 | |
58 | 53 |
multilib_src_test() { |
... | ... | |
69 | 64 | |
70 | 65 |
multilib_src_install_all() { |
71 | 66 |
einstalldocs |
67 | ||
72 | 68 |
find "${ED}" -type f -name '*.la' -delete || die |
73 | 69 |
} |