diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2017-02-04 01:55:30 +0200 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2017-02-04 03:30:49 +0200 |
commit | 3e52018ea6735a6fccd8bf9ad93bb2e91713c4f2 (patch) | |
tree | 5e73fcf6f907c6a71072e336a26550ec1677ce2a /app-crypt/pkcrack | |
parent | app-crypt/bsign: eapi bump (diff) | |
download | gentoo-3e52018ea6735a6fccd8bf9ad93bb2e91713c4f2.tar.gz gentoo-3e52018ea6735a6fccd8bf9ad93bb2e91713c4f2.tar.bz2 gentoo-3e52018ea6735a6fccd8bf9ad93bb2e91713c4f2.zip |
app-crypt/pkcrack: eapi bump
Package-Manager: portage-2.3.3
Diffstat (limited to 'app-crypt/pkcrack')
-rw-r--r-- | app-crypt/pkcrack/pkcrack-1.2.2-r1.ebuild | 39 |
1 files changed, 18 insertions, 21 deletions
diff --git a/app-crypt/pkcrack/pkcrack-1.2.2-r1.ebuild b/app-crypt/pkcrack/pkcrack-1.2.2-r1.ebuild index ad00a6942af4..eb593b186e68 100644 --- a/app-crypt/pkcrack/pkcrack-1.2.2-r1.ebuild +++ b/app-crypt/pkcrack/pkcrack-1.2.2-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI="4" +EAPI="6" inherit toolchain-funcs DESCRIPTION="PkZip cipher breaker" @@ -17,8 +17,21 @@ IUSE="test" DEPEND="test? ( app-arch/zip[crypt] )" RDEPEND="!<app-text/html-xml-utils-5.3" +DOCS=( + ../doc/KNOWN_BUGS + ../doc/appnote.iz.txt + ../doc/README.W32 + ../doc/pkzip.ps.gz + ../doc/CHANGES + ../doc/LIESMICH + ../doc/README.html + ../doc/README +) + +S="${WORKDIR}/${P}/src" + src_prepare() { - cd "${S}/src" + default sed -i -e "s/^CC=.*/CC=$(tc-getCC)/" \ -e "/^CFLAGS=.*/d" \ -e "s/CFLAGS/LDFLAGS/" \ @@ -26,34 +39,18 @@ src_prepare() { sed -i -e "s:void main:int main:" *.c } -src_compile() { - cd "${S}/src" - emake -} - src_test() { - cd "${S}/test" + cd "${S}/../test" make CC="$(tc-getCC)" all } src_install() { - cd "${S}/src" + einstalldocs dobin pkcrack zipdecrypt findkey makekey newbin extract "$PN-extract" - dodoc "${S}/doc/"* } pkg_postinst() { - elog "Author DEMANDS :-) a postcard be sent to:" - elog - elog " Peter Conrad" - elog " Am Heckenberg 1" - elog " 56727 Mayen" - elog " Germany" - elog - elog "See: http://www.unix-ag.uni-kl.de/~conrad/krypto/pkcrack/pkcrack-readme.html" - - ewarn ewarn "Due to file collision, extract utility was renamed to $PN-extract," ewarn "see bug#247394" } |