summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-07 09:18:03 +0000
committerSam James <sam@gentoo.org>2021-04-07 09:18:03 +0000
commitf75c7f8d77ae80eac762a892d5538504dddae205 (patch)
tree48b2cfa998e326d2a6aabbf82f5f9a91108a347c /dev-libs/libmba/libmba-0.9.1-r3.ebuild
parentgames-arcade/tomatoes: port to EAPI 7, games.eclass--, respect CXX (diff)
downloadgentoo-f75c7f8d77ae80eac762a892d5538504dddae205.tar.gz
gentoo-f75c7f8d77ae80eac762a892d5538504dddae205.tar.bz2
gentoo-f75c7f8d77ae80eac762a892d5538504dddae205.zip
dev-libs/libmba: fix example installation
Closes: https://bugs.gentoo.org/780801 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libmba/libmba-0.9.1-r3.ebuild')
-rw-r--r--dev-libs/libmba/libmba-0.9.1-r3.ebuild46
1 files changed, 0 insertions, 46 deletions
diff --git a/dev-libs/libmba/libmba-0.9.1-r3.ebuild b/dev-libs/libmba/libmba-0.9.1-r3.ebuild
deleted file mode 100644
index e16e8608b47c..000000000000
--- a/dev-libs/libmba/libmba-0.9.1-r3.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-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"
-
-PATCHES=(
- "${FILESDIR}"/${P}-qa.patch
- "${FILESDIR}"/${P}-glibc-2.20.patch
-)
-
-src_prepare() {
- default
-
- tc-export CC
- sed -i -e "s:gcc:${CC}:g" mktool.c || die
-
- # prevent reinventing strdup(), wcsdup() and strnlen()
- append-cflags -D_XOPEN_SOURCE=500
-}
-
-src_compile() {
- emake LIBDIR="$(get_libdir)"
-}
-
-src_install() {
- emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install
-
- dodoc README.txt docs/*.txt
- docinto html
- dodoc -r docs/*.html docs/www/* docs/ref
-
- docinto examples
- doins examples/*
-
- gunzip -v $(find "${ED}" -name '*.[0-9]*.gz') || die
-}