diff options
author | Sam James <sam@gentoo.org> | 2021-04-03 21:55:42 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-03 21:58:05 +0000 |
commit | 0546005a562d4c2e0f3a6d8cd0b4f36a352d5906 (patch) | |
tree | 7d56a2d7d1b1c74489b487125c26b2d335fa48b4 /dev-libs/libmba | |
parent | dev-libs/rapidxml: cleanup old (diff) | |
download | gentoo-0546005a562d4c2e0f3a6d8cd0b4f36a352d5906.tar.gz gentoo-0546005a562d4c2e0f3a6d8cd0b4f36a352d5906.tar.bz2 gentoo-0546005a562d4c2e0f3a6d8cd0b4f36a352d5906.zip |
dev-libs/libmba: EAPI 7, eutils--, multilib--, static-libs--
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libmba')
-rw-r--r-- | dev-libs/libmba/libmba-0.9.1-r3.ebuild | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/dev-libs/libmba/libmba-0.9.1-r3.ebuild b/dev-libs/libmba/libmba-0.9.1-r3.ebuild index b0ffe135dfad..e16e8608b47c 100644 --- a/dev-libs/libmba/libmba-0.9.1-r3.ebuild +++ b/dev-libs/libmba/libmba-0.9.1-r3.ebuild @@ -1,22 +1,25 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils flag-o-matic multilib toolchain-funcs +EAPI=7 + +inherit flag-o-matic toolchain-funcs DESCRIPTION="A library of generic C modules" LICENSE="MIT" HOMEPAGE="http://www.ioplex.com/~miallen/libmba/" SRC_URI="http://www.ioplex.com/~miallen/libmba/dl/${P}.tar.gz" + SLOT="0" KEYWORDS="amd64 x86" -IUSE="static-libs" -src_prepare() { - use static-libs && export STATIC="1" +PATCHES=( + "${FILESDIR}"/${P}-qa.patch + "${FILESDIR}"/${P}-glibc-2.20.patch +) - epatch "${FILESDIR}"/${P}-qa.patch - epatch "${FILESDIR}"/${P}-glibc-2.20.patch +src_prepare() { + default tc-export CC sed -i -e "s:gcc:${CC}:g" mktool.c || die @@ -33,9 +36,10 @@ src_install() { emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install dodoc README.txt docs/*.txt - dohtml -r docs/*.html docs/www/* docs/ref + docinto html + dodoc -r docs/*.html docs/www/* docs/ref - insinto /usr/share/doc/${PF}/examples + docinto examples doins examples/* gunzip -v $(find "${ED}" -name '*.[0-9]*.gz') || die |