You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-crypt/ophcrack-tables/ophcrack-tables-1.0-r2.ebuild

37 lines
815 B

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Tables available for ophcrack"
HOMEPAGE="http://ophcrack.sourceforge.net/"
SRC_URI="
xpfast? ( mirror://sourceforge/ophcrack/tables_xp_free_fast.zip )
xpsmall? ( mirror://sourceforge/ophcrack/tables_xp_free_small.zip )
vistafree? ( mirror://sourceforge/ophcrack/tables_vista_free.zip )"
S="${WORKDIR}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="+xpfast xpsmall +vistafree"
REQUIRED_USE="|| ( xpfast xpsmall vistafree )"
BDEPEND="app-arch/unzip"
src_unpack() {
local i table
for i in ${A}; do
table=${i#tables_}
table=${table%.zip}
mkdir "${S}"/${table} || die
cd $_ || die
unpack "${i}"
done
}
src_install() {
insinto /usr/share/ophcrack
doins -r .
}