app-crypt/xor-analyze: EAPI 6 bump
authorAmy Liffey <amynka@gentoo.org>
Fri, 11 Aug 2017 20:31:38 +0000 (22:31 +0200)
committerAmy Liffey <amynka@gentoo.org>
Fri, 11 Aug 2017 20:31:38 +0000 (22:31 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

app-crypt/xor-analyze/xor-analyze-0.5-r1.ebuild [new file with mode: 0644]

diff --git a/app-crypt/xor-analyze/xor-analyze-0.5-r1.ebuild b/app-crypt/xor-analyze/xor-analyze-0.5-r1.ebuild
new file mode 100644 (file)
index 0000000..379db39
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="program for cryptanalyzing xor 'encryption' with variable key length"
+HOMEPAGE="http://www.habets.pp.se/synscan/programs.php?prog=xor-analyze"
+SRC_URI="http://www.habets.pp.se/synscan/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+src_compile() {
+       rm -f Makefile || die
+       emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" xor-analyze xor-enc
+}
+
+src_install() {
+       dobin xor-analyze xor-enc
+       dosym xor-enc /usr/bin/xor-dec
+       dodoc README TODO
+}