Сравнение libmaxminddb-1.5.2 с libmaxminddb-1.6.0
/usr/portage/dev-libs/libmaxminddb/libmaxminddb-1.6.0.ebuild 2023-10-09 14:52:29.520368351 +0300 | ||
---|---|---|
7 | 7 | |
8 | 8 |
DESCRIPTION="C library for the MaxMind DB file format" |
9 | 9 |
HOMEPAGE="https://github.com/maxmind/libmaxminddb" |
10 |
SRC_URI="https://github.com/maxmind/libmaxminddb/releases/download/${PV}/${P}.tar.gz" |
|
10 |
if [[ ${PV} == *9999 ]] ; then |
|
11 |
EGIT_REPO_URI="https://github.com/maxmind/libmaxminddb.git" |
|
12 |
inherit autotools git-r3 |
|
13 |
else |
|
14 |
SRC_URI="https://github.com/maxmind/libmaxminddb/releases/download/${PV}/${P}.tar.gz" |
|
15 | ||
16 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86" |
|
17 |
fi |
|
11 | 18 | |
12 | 19 |
LICENSE="Apache-2.0" |
13 | 20 |
SLOT="0/0.0.7" |
14 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86" |
|
15 | 21 |
IUSE="test" |
16 | 22 |
RESTRICT="!test? ( test )" |
17 | 23 | |
... | ... | |
19 | 25 | |
20 | 26 |
DOCS=( Changes.md ) |
21 | 27 | |
28 |
src_prepare() { |
|
29 |
default |
|
30 | ||
31 |
if [[ ${PV} == *9999 ]] ; then |
|
32 |
eautoreconf |
|
33 |
fi |
|
34 |
} |
|
35 | ||
22 | 36 |
src_configure() { |
23 |
econf --disable-static |
|
24 | 37 |
tc-export AR CC |
38 | ||
39 |
econf --disable-static |
|
25 | 40 |
} |
26 | 41 | |
27 | 42 |
src_install() { |
28 | 43 |
default |
44 | ||
29 | 45 |
find "${ED}" -name '*.la' -delete || die |
30 | 46 |
} |