-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="5"
+EAPI="6"
inherit eutils versionator
DEPEND=""
RDEPEND=""
-S="${WORKDIR}/${PN}-${MY_PV}"
+PATCHES=(
+ "${FILESDIR}/${PN}-1.9.7-fix_warnings.patch"
+ "${FILESDIR}/${PN}-1.9.8-fix-flags.patch"
+)
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-1.9.7-fix_warnings.patch \
- "${FILESDIR}"/${PN}-1.9.8-fix-flags.patch
-}
+S="${WORKDIR}/${PN}-${MY_PV}"
src_test() {
echo "abc123" >> testfile
src_install() {
default
- if use doc ; then
- dohtml -r ../bcwipe-help
- fi
+ use doc && dodoc -r ../bcwipe-help
}
pkg_postinst() {
ewarn "The BestCrypt drivers are not free - Please purchace a license from "
ewarn "http://www.jetico.com/"
- ewarn "full details /usr/share/doc/${PF}/html/bcwipe-help/wu_licen.htm"
+ ewarn "full details /usr/share/doc/${PF}/bcwipe-help/wu_licen.htm"
}
---- Makefile.in 2011-02-23 01:07:29.841894634 +0100
-+++ Makefile.in 2011-02-23 01:07:46.626793943 +0100
+--- a/Makefile.in 2011-02-23 01:07:29.841894634 +0100
++++ b/Makefile.in 2011-02-23 01:07:46.626793943 +0100
@@ -174,7 +174,7 @@
bcwipe_SOURCES = wipe.c wipe.h options.c options.h schemes.c schemes.h sha1.c sha1.h sha1random.c sha1random.h log.c log.h standard.h rand.h rand.c prng.c
man_MANS = bcwipe.1