commit: 9fd3fd2304658372711353e6a7d4dfefb149c3f6 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> AuthorDate: Wed Nov 10 13:45:40 2021 +0000 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> CommitDate: Wed Nov 10 13:45:40 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fd3fd23
dev-db/cdb: update to EAPI 8 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org> dev-db/cdb/cdb-0.75-r4.ebuild | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/dev-db/cdb/cdb-0.75-r4.ebuild b/dev-db/cdb/cdb-0.75-r4.ebuild index c0f6618e6d3..6f6e1be8720 100644 --- a/dev-db/cdb/cdb-0.75-r4.ebuild +++ b/dev-db/cdb/cdb-0.75-r4.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI="8" inherit toolchain-funcs @@ -12,15 +12,17 @@ SRC_URI="https://cr.yp.to/${PN}/${P}.tar.gz" LICENSE="public-domain" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="" -DEPEND="!dev-db/tinycdb" -RDEPEND="${DEPEND}" +RDEPEND="!dev-db/tinycdb" +DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${PN}-errno.patch "${FILESDIR}"/${PN}-inline.patch "${FILESDIR}"/${PN}-stdint.patch ) +DOCS=( CHANGES README TODO VERSION ) src_prepare() { default @@ -33,26 +35,25 @@ src_prepare() { } src_configure() { - echo "$(tc-getCC) ${CFLAGS} -fPIC" > conf-cc || die - echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die - echo "${EPREFIX}/usr" > conf-home || die + echo "$(tc-getCC) ${CFLAGS} -fPIC" >conf-cc || die + echo "$(tc-getCC) ${LDFLAGS}" >conf-ld || die + echo "${EPREFIX}/usr" >conf-home || die } src_install() { - dobin cdbdump cdbget cdbmake cdbmake-12 cdbmake-sv cdbstats cdbtest + dobin ${PN}{dump,get,make{,-12,-sv},stats,test} # ok so ... first off, some automakes fail at finding # cdb.a, so install that now dolib.a *.a - # then do this pretty little symlinking to solve the somewhat # cosmetic library issue at hand - dosym cdb.a /usr/$(get_libdir)/libcdb.a + dosym ${PN}.a /usr/$(get_libdir)/lib${PN}.a # uint32.h needs installation too, otherwise compiles depending # on it will fail - insinto /usr/include/cdb - doins cdb*.h buffer.h alloc.h uint32.h + insinto /usr/include/${PN} + doins ${PN}*.h {alloc,buffer,uint32}.h - dodoc CHANGES FILES README SYSDEPS TODO VERSION + einstalldocs }