mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-17 02:11:06 +02:00
sys-libs/gdbm: Sync with Gentoo
It's from Gentoo commit d9904eedca75aef09bdc6036414ef81644f75505.
This commit is contained in:
parent
7393d2ef5f
commit
8cbe592cff
@ -2,3 +2,5 @@ DIST gdbm-1.24.tar.gz 1195931 BLAKE2B 79f49adbb455c2e1b91f3450037b71165fa8de8265
|
||||
DIST gdbm-1.24.tar.gz.sig 95 BLAKE2B 3a66c2a256d9601db57df20feb5d72d1e94d23b7a92e3099f121549c8aa2c57b05a3021d88f97291819378462a68664af958de4c9de65887d2cca6642d172bc3 SHA512 a54595e0fd23724f5e30c2ff1b9656dbb6da3b448f4ab6a2579a523c11bae53e47d3843327a1e4499b312ab947ac73b5a9aa6e78fe5e932c55a1be0cdab4e63d
|
||||
DIST gdbm-1.25.tar.gz 1224180 BLAKE2B 6abf5f77823dda7ebcaa775d58f7a311c8f73c7521fe223398b5cb4b4831ad177cfd87fd42f2b24ca2fc5984af7d51abcc5e509ceb6aab2746a52aecb550654b SHA512 1785598665d7323eed052a55708903c6abaeafcfb66a9ceb69293f57c3fdbf49cd8a821ef23715a40bf7030d0067d1340d12279ed07afe040f912e53078e47f5
|
||||
DIST gdbm-1.25.tar.gz.sig 566 BLAKE2B 7740ca7be87eb3f33ff2fd330e35dd900786d9d6a589d466202a121e0e943d3037a75daf584f0b8c99cf10ffac388b1de732c19e43af62bb8da969980c7f65b7 SHA512 0abf5198f0e5ca9678d7741181724389be2289263d2a91c07a979c03f976e7cc494f39a5fbc4d8dbb8acacba463accf28ba0eba4907f1bfe2bac0ab2f4f5eede
|
||||
DIST gdbm-1.26.tar.gz 1226591 BLAKE2B 9423ea16ee3e8f1ce57ea32371f49919e2a3819a206a61ce927676a08a71a6a495d3949714bff7be789dfce75bf0ab0ac76f07ec673b71a84ae32bd8cd483781 SHA512 44aafe254f0950a8f5215d8f1337674f07b19f2a375f6eb19a7e39690028c80c3774b705c2b76b470ae74042b21f2ca77d02f6f57aa2ee50296db801220a3352
|
||||
DIST gdbm-1.26.tar.gz.sig 566 BLAKE2B b15fdc78010a9fc020d9aad5c92394d00ebce846ac0468fee90701b19295f51df4ccbb22e7af4bde75b0e2b52e46c96dd511c6f3552d2151a828422033d1bc26 SHA512 ba126e81a660c6658bdb5aac65c12546cf4d7721da88f3767808c9c94e4082cf48eaf9655b502898603af22a52032d9cba40f94db4170e4f5878e7a2b8ec9922
|
||||
|
@ -13,7 +13,7 @@ SRC_URI="
|
||||
verify-sig? ( mirror://gnu/gdbm/${P}.tar.gz.sig )
|
||||
"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
LICENSE="GPL-3+ GPL-2+ FDL-1.3+"
|
||||
SLOT="0/6" # libgdbm.so version
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="+berkdb nls +readline static-libs test"
|
||||
|
@ -13,7 +13,7 @@ SRC_URI="
|
||||
verify-sig? ( mirror://gnu/gdbm/${P}.tar.gz.sig )
|
||||
"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
LICENSE="GPL-3+ GPL-2+ FDL-1.3+"
|
||||
SLOT="0/6" # libgdbm.so version
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="+berkdb nls +readline static-libs test"
|
||||
|
64
sdk_container/src/third_party/portage-stable/sys-libs/gdbm/gdbm-1.26.ebuild
vendored
Normal file
64
sdk_container/src/third_party/portage-stable/sys-libs/gdbm/gdbm-1.26.ebuild
vendored
Normal file
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gdbm.asc
|
||||
inherit libtool multilib-minimal multiprocessing verify-sig
|
||||
|
||||
DESCRIPTION="Standard GNU database libraries"
|
||||
HOMEPAGE="https://www.gnu.org/software/gdbm/"
|
||||
SRC_URI="
|
||||
mirror://gnu/gdbm/${P}.tar.gz
|
||||
verify-sig? ( mirror://gnu/gdbm/${P}.tar.gz.sig )
|
||||
"
|
||||
|
||||
LICENSE="GPL-3+ GPL-2+ FDL-1.3+"
|
||||
SLOT="0/6" # libgdbm.so version
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="+berkdb nls +readline static-libs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="readline? ( sys-libs/readline:=[${MULTILIB_USEDEP}] )"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
test? ( dev-util/dejagnu )
|
||||
verify-sig? ( >=sec-keys/openpgp-keys-gdbm-20250323 )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# gdbm ships with very old libtool files, regen to avoid
|
||||
# errors when cross-compiling.
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# gdbm doesn't appear to use either of these libraries
|
||||
export ac_cv_lib_dbm_main=no ac_cv_lib_ndbm_main=no
|
||||
|
||||
local myeconfargs=(
|
||||
--includedir="${EPREFIX}"/usr/include/gdbm
|
||||
$(use_enable berkdb libgdbm-compat)
|
||||
$(use_enable nls)
|
||||
$(use_enable static-libs static)
|
||||
$(use_with readline)
|
||||
)
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
emake -Onone check TESTSUITEFLAGS="--jobs=$(get_makeopts_jobs)"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
if ! use static-libs ; then
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
fi
|
||||
|
||||
mv "${ED}"/usr/include/gdbm/gdbm.h "${ED}"/usr/include/ || die
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user