diff options
author | Ionen Wolkens <sudinave@gmail.com> | 2021-01-06 19:19:20 -0500 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-01-07 01:33:25 +0000 |
commit | 4a4e58cd2b9afd8e1281abeb4d2c5cce18ec1e13 (patch) | |
tree | ab70b8a05dbcee5aa1b700fcfa049bf17a6b3c79 /dev-libs/libmaxminddb | |
parent | app-dicts/ydpdict: cleanup old (diff) | |
download | gentoo-4a4e58cd2b9afd8e1281abeb4d2c5cce18ec1e13.tar.gz gentoo-4a4e58cd2b9afd8e1281abeb4d2c5cce18ec1e13.tar.bz2 gentoo-4a4e58cd2b9afd8e1281abeb4d2c5cce18ec1e13.zip |
dev-libs/libmaxminddb: revert to autoconf, add test dep
cmake build is incomplete (lacks man pages, pkgconfig, .so.0 symlink)
Closes: https://bugs.gentoo.org/764167
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Ionen Wolkens <sudinave@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libmaxminddb')
-rw-r--r-- | dev-libs/libmaxminddb/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libmaxminddb/libmaxminddb-1.5.0-r1.ebuild (renamed from dev-libs/libmaxminddb/libmaxminddb-1.5.0.ebuild) | 22 |
2 files changed, 12 insertions, 11 deletions
diff --git a/dev-libs/libmaxminddb/Manifest b/dev-libs/libmaxminddb/Manifest index 7e4e6a3fe44c..099eafa997e6 100644 --- a/dev-libs/libmaxminddb/Manifest +++ b/dev-libs/libmaxminddb/Manifest @@ -1,3 +1,2 @@ DIST libmaxminddb-1.4.3.tar.gz 602272 BLAKE2B 2974d7268201a906c1c478ee36d4ef61e5f7483fd4f91bfcc5bf92f5bc698e8dd9eef256cceeb8c3217054481827d6fbf075f479e76c6506cc1f31d707a7d9dd SHA512 7fd97678ea6ca41cc4530864276b0233acbb16208571dc4694902943b3aa7e97c683c5676ea3f2de948c67aebd083f5d073b9ae36b7e89059c17f797ffddf65e -DIST libmaxminddb-1.5.0-test-data.tar.gz 244033 BLAKE2B b4d138ef8eb4b8eb78fcc42bf99eccb0336736ce27a8c639458b2f089d5fb6cbeb429860eae35333672ec7f9073db3843461f6470574035d9f7dc115e0ee3c26 SHA512 0c0773dde72e37955239e1f160ad22f60779e4752a10e0df0ab7697b7ca6df83547a85bc440e6643867055db0bbcbc9bbbf056e66fc688d24eb09ee1a1688c73 DIST libmaxminddb-1.5.0.tar.gz 603923 BLAKE2B 07c18f759a2d437d95be513d6dc3aaddd5dcd6f7201fdd7eba0f035c5a3221344f1e5e44253c0efdc2690cfffc5cecdaa9befed8d69f6f0ebd33588b3805443d SHA512 68c769f247156869b84a8ad0f9deec3cb79d39c0a6b8f1458461c223b9cf9967dd9d697ff4e92ac28216ef9e9f5a94908e03f76a5f70ab17636b163c17d2d432 diff --git a/dev-libs/libmaxminddb/libmaxminddb-1.5.0.ebuild b/dev-libs/libmaxminddb/libmaxminddb-1.5.0-r1.ebuild index ef1cc58dee23..45742bc23d7b 100644 --- a/dev-libs/libmaxminddb/libmaxminddb-1.5.0.ebuild +++ b/dev-libs/libmaxminddb/libmaxminddb-1.5.0-r1.ebuild @@ -3,28 +3,30 @@ EAPI=7 -inherit cmake +inherit toolchain-funcs -TEST_COMMIT="39431da7fb6834c0cbe0c70a81074e65299dece7" DESCRIPTION="C library for the MaxMind DB file format" HOMEPAGE="https://github.com/maxmind/libmaxminddb" SRC_URI="https://github.com/maxmind/libmaxminddb/releases/download/${PV}/${P}.tar.gz" -SRC_URI+=" test? ( https://github.com/maxmind/MaxMind-DB/archive/${TEST_COMMIT}.tar.gz -> ${P}-test-data.tar.gz )" LICENSE="Apache-2.0" SLOT="0/0.0.7" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" IUSE="test" -# Out of date test data shipped -RESTRICT="test" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( dev-perl/IPC-Run3 ) +" DOCS=( Changes.md ) src_configure() { - local mycmakeargs=( - -DBUILD_SHARED_LIBS=ON - -DBUILD_TESTING=$(usex test) - ) + econf --disable-static + tc-export AR CC +} - cmake_src_configure +src_install() { + default + find "${ED}" -name '*.la' -delete || die } |