summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2017-07-01 21:49:56 +0900
committerAkinori Hattori <hattya@gentoo.org>2017-07-01 21:49:56 +0900
commitaf35e392c5637d7bac98fe71d5dd7921635a031b (patch)
tree60d24463b4619371f5bd14fd39c6128ab8cc9bb3 /dev-db/tinycdb
parentdev-db/tinycdb: update patches (diff)
downloadgentoo-af35e392c5637d7bac98fe71d5dd7921635a031b.tar.gz
gentoo-af35e392c5637d7bac98fe71d5dd7921635a031b.tar.bz2
gentoo-af35e392c5637d7bac98fe71d5dd7921635a031b.zip
dev-db/tinycdb: update to EAPI 6
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'dev-db/tinycdb')
-rw-r--r--dev-db/tinycdb/tinycdb-0.77-r2.ebuild22
1 files changed, 13 insertions, 9 deletions
diff --git a/dev-db/tinycdb/tinycdb-0.77-r2.ebuild b/dev-db/tinycdb/tinycdb-0.77-r2.ebuild
index 937f5d7f3fe1..5451c4cff7d0 100644
--- a/dev-db/tinycdb/tinycdb-0.77-r2.ebuild
+++ b/dev-db/tinycdb/tinycdb-0.77-r2.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI="6"
-inherit eutils multilib toolchain-funcs
+inherit toolchain-funcs
DESCRIPTION="A very fast and simple package for creating and reading constant data bases"
HOMEPAGE="http://www.corpit.ru/mjt/tinycdb.html"
@@ -17,11 +17,15 @@ RESTRICT="test"
RDEPEND="!dev-db/cdb"
+PATCHES=(
+ "${FILESDIR}"/${PN}-gentoo.patch
+ "${FILESDIR}"/${PN}-umask.patch
+ "${FILESDIR}"/${PN}-uclibc.patch
+)
+
src_prepare() {
- epatch "${FILESDIR}"/${PN}-gentoo.patch
- epatch "${FILESDIR}"/${PN}-umask.patch
- epatch "${FILESDIR}"/${PN}-uclibc.patch
- # fix multilib support
+ default
+
sed -i "/^libdir/s:/lib:/$(get_libdir):" Makefile
}
@@ -40,9 +44,9 @@ src_install() {
use static-libs && targets+=" install-piclib"
emake \
- prefix="/usr" \
- mandir="/usr/share/man" \
+ prefix="${EPREFIX}"/usr \
+ mandir="${EPREFIX}"/usr/share/man \
DESTDIR="${D}" \
${targets}
- dodoc ChangeLog NEWS
+ einstalldocs
}