mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
dev-libs/libconfig: add 1.8.1
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST libconfig-1.7.3.tar.gz 3026416 BLAKE2B 94301be4d6e472fc9daeac7a04074855737ddda94bb5748cd0087fafe192cf674ea1c020808ebf855372188b6b27a57ed185323fa26988bb1fccde0566617cba SHA512 3749bf9eb29bab0f6b14f4fc759f0c419ed27a843842aaabed1ec1fbe0faa8c93322ff875ca1291d69cb28a39ece86d512aec42c2140d566c38c56dc616734f4
|
||||
DIST libconfig-1.8.0.tar.gz 1722355 BLAKE2B 3879fa62277332f9df07c3776d11e6ec6c7518fe83c83a6b50b15683a34d9d57f54bb550f911076654b0f62c40fa650167d8a233e01f05be0c5b5dcc9fc8749b SHA512 7899d3898e1741d90cf2381561b172ec6ba2bcc47d1b3e6058bcef74d73634d9be33eb8f99a58c7af15ac99e56800510edf3c412d9c1f136e6a3ab744455b992
|
||||
DIST libconfig-1.8.1.tar.gz 1726710 BLAKE2B 96e6da09e8efdd6091edfe58cbc860296e6c484257ea95df95eea3c103fc03a46159136483d35ac4bf25ab6284d8284a1bd988d8499eb057d6226ac4ae7e950a SHA512 1d9d7b21baf73259c09b503ca02942bdf847741378f8c3d7e138c9b4979c5304aae510595958fe1842b726778cedf2aaeb1844f8b209a61ccb24debea592bd0c
|
||||
|
||||
63
dev-libs/libconfig/libconfig-1.8.1.ebuild
Normal file
63
dev-libs/libconfig/libconfig-1.8.1.ebuild
Normal file
@@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools dot-a multilib-minimal
|
||||
|
||||
DESCRIPTION="Libconfig is a simple library for manipulating structured configuration files"
|
||||
HOMEPAGE="
|
||||
https://www.hyperrealm.com/libconfig/libconfig.html
|
||||
https://github.com/hyperrealm/libconfig
|
||||
"
|
||||
SRC_URI="https://github.com/hyperrealm/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0/15"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x86-linux"
|
||||
IUSE="+cxx debug static-libs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
sys-apps/texinfo
|
||||
app-alternatives/yacc
|
||||
dev-build/libtool
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e '/sleep 3/d' \
|
||||
configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
use static-libs && lto-guarantee-fat
|
||||
|
||||
local myeconfargs=(
|
||||
$(use_enable debug asserts)
|
||||
$(use_enable cxx)
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable test tests)
|
||||
--disable-examples
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
# It responds to check but that does not work as intended
|
||||
emake test
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
|
||||
strip-lto-bytecode
|
||||
}
|
||||
Reference in New Issue
Block a user