summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/pyrit/pyrit-0.4.0.ebuild')
-rw-r--r--net-wireless/pyrit/pyrit-0.4.0.ebuild61
1 files changed, 0 insertions, 61 deletions
diff --git a/net-wireless/pyrit/pyrit-0.4.0.ebuild b/net-wireless/pyrit/pyrit-0.4.0.ebuild
deleted file mode 100644
index ef5efce..0000000
--- a/net-wireless/pyrit/pyrit-0.4.0.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=3
-
-SUPPORT_PYTHON_ABIS="1"
-PYTHON_DEPEND="2"
-RESTRICT_PYTHON_ABIS="3.* *-jython"
-PYTHON_USE_WITH="sqlite"
-
-inherit distutils
-
-DESCRIPTION="A GPU-based WPA-PSK and WPA2-PSK cracking tool"
-HOMEPAGE="http://code.google.com/p/pyrit/"
-SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz
- cuda? ( http://${PN}.googlecode.com/files/cpyrit-cuda-${PV}.tar.gz )
- opencl? ( http://${PN}.googlecode.com/files/cpyrit-opencl-${PV}.tar.gz )"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="cuda opencl"
-
-DEPEND="dev-db/sqlite:3
- cuda? ( x11-drivers/nvidia-drivers
- >=dev-util/nvidia-cuda-toolkit-2.2 )
- opencl? ( >=dev-util/nvidia-cuda-toolkit-3.0[opencl] )"
-RDEPEND="${DEPEND}"
-
-src_compile() {
- distutils_src_compile
- if use cuda; then
- cd "${WORKDIR}/cpyrit-cuda-${PV}"
- distutils_src_compile
- fi
- if use opencl; then
- cd "${WORKDIR}/cpyrit-opencl-${PV}"
- distutils_src_compile
- fi
-}
-
-src_test() {
- cd test
- testing() {
- "$(PYTHON)" test_pyrit.py
- }
- python_execute_function testing
-}
-
-src_install() {
- distutils_src_install
- if use cuda; then
- cd "${WORKDIR}/cpyrit-cuda-${PV}"
- distutils_src_install
- fi
- if use opencl; then
- cd "${WORKDIR}/cpyrit-opencl-${PV}"
- distutils_src_install
- fi
-} \ No newline at end of file