1 |
commit: af35e392c5637d7bac98fe71d5dd7921635a031b |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 1 12:49:56 2017 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 1 12:49:56 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af35e392 |
7 |
|
8 |
dev-db/tinycdb: update to EAPI 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
dev-db/tinycdb/tinycdb-0.77-r2.ebuild | 22 +++++++++++++--------- |
13 |
1 file changed, 13 insertions(+), 9 deletions(-) |
14 |
|
15 |
diff --git a/dev-db/tinycdb/tinycdb-0.77-r2.ebuild b/dev-db/tinycdb/tinycdb-0.77-r2.ebuild |
16 |
index 937f5d7f3fe..5451c4cff7d 100644 |
17 |
--- a/dev-db/tinycdb/tinycdb-0.77-r2.ebuild |
18 |
+++ b/dev-db/tinycdb/tinycdb-0.77-r2.ebuild |
19 |
@@ -1,9 +1,9 @@ |
20 |
# Copyright 1999-2017 Gentoo Foundation |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
-EAPI="5" |
24 |
+EAPI="6" |
25 |
|
26 |
-inherit eutils multilib toolchain-funcs |
27 |
+inherit toolchain-funcs |
28 |
|
29 |
DESCRIPTION="A very fast and simple package for creating and reading constant data bases" |
30 |
HOMEPAGE="http://www.corpit.ru/mjt/tinycdb.html" |
31 |
@@ -17,11 +17,15 @@ RESTRICT="test" |
32 |
|
33 |
RDEPEND="!dev-db/cdb" |
34 |
|
35 |
+PATCHES=( |
36 |
+ "${FILESDIR}"/${PN}-gentoo.patch |
37 |
+ "${FILESDIR}"/${PN}-umask.patch |
38 |
+ "${FILESDIR}"/${PN}-uclibc.patch |
39 |
+) |
40 |
+ |
41 |
src_prepare() { |
42 |
- epatch "${FILESDIR}"/${PN}-gentoo.patch |
43 |
- epatch "${FILESDIR}"/${PN}-umask.patch |
44 |
- epatch "${FILESDIR}"/${PN}-uclibc.patch |
45 |
- # fix multilib support |
46 |
+ default |
47 |
+ |
48 |
sed -i "/^libdir/s:/lib:/$(get_libdir):" Makefile |
49 |
} |
50 |
|
51 |
@@ -40,9 +44,9 @@ src_install() { |
52 |
use static-libs && targets+=" install-piclib" |
53 |
|
54 |
emake \ |
55 |
- prefix="/usr" \ |
56 |
- mandir="/usr/share/man" \ |
57 |
+ prefix="${EPREFIX}"/usr \ |
58 |
+ mandir="${EPREFIX}"/usr/share/man \ |
59 |
DESTDIR="${D}" \ |
60 |
${targets} |
61 |
- dodoc ChangeLog NEWS |
62 |
+ einstalldocs |
63 |
} |