1 |
commit: e0f46b211ae3d3b453285b0b536505536e143526 |
2 |
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 4 00:35:24 2017 +0000 |
4 |
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 4 01:30:53 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0f46b21 |
7 |
|
8 |
app-crypt/chntpw: eapi bump |
9 |
|
10 |
Package-Manager: portage-2.3.3 |
11 |
|
12 |
app-crypt/chntpw/chntpw-140201.ebuild | 12 ++++++++---- |
13 |
1 file changed, 8 insertions(+), 4 deletions(-) |
14 |
|
15 |
diff --git a/app-crypt/chntpw/chntpw-140201.ebuild b/app-crypt/chntpw/chntpw-140201.ebuild |
16 |
index ee1858d5..6ad9ecd 100644 |
17 |
--- a/app-crypt/chntpw/chntpw-140201.ebuild |
18 |
+++ b/app-crypt/chntpw/chntpw-140201.ebuild |
19 |
@@ -1,8 +1,8 @@ |
20 |
-# Copyright 1999-2016 Gentoo Foundation |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
# $Id$ |
24 |
|
25 |
-EAPI=5 |
26 |
+EAPI=6 |
27 |
|
28 |
inherit toolchain-funcs |
29 |
|
30 |
@@ -21,7 +21,12 @@ DEPEND="${RDEPEND} |
31 |
app-arch/unzip |
32 |
static? ( dev-libs/openssl:0[static-libs] )" |
33 |
|
34 |
+DOCS=( |
35 |
+ HISTORY.txt README.txt regedit.txt WinReg.txt |
36 |
+) |
37 |
+ |
38 |
src_prepare() { |
39 |
+ default |
40 |
sed -i -e '/-o/s:$(CC):$(CC) $(LDFLAGS):' Makefile || die |
41 |
|
42 |
if ! use static ; then |
43 |
@@ -39,11 +44,10 @@ src_compile() { |
44 |
} |
45 |
|
46 |
src_install() { |
47 |
+ einstalldocs |
48 |
dobin chntpw cpnt reged |
49 |
|
50 |
if use static; then |
51 |
dobin {chntpw,reged}.static |
52 |
fi |
53 |
- |
54 |
- dodoc {HISTORY,README,regedit,WinReg}.txt |
55 |
} |