mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-28 11:13:10 +01:00
30 lines
612 B
Bash
30 lines
612 B
Bash
# Copyright 1999-2015 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI=5
|
|
|
|
DESCRIPTION="Windows NT/2k/XP/Vista sam hash dumper"
|
|
HOMEPAGE="http://sourceforge.net/projects/ophcrack/files/"
|
|
SRC_URI="mirror://sourceforge/ophcrack/${PN}/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86 ~arm"
|
|
IUSE=""
|
|
|
|
DEPEND=""
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_prepare() {
|
|
sed -e 's|= -lssl|= -lssl -lcrypto|g' -i Makefile
|
|
}
|
|
|
|
src_compile() {
|
|
emake || die "emake failed"
|
|
}
|
|
|
|
src_install() {
|
|
dobin samdump2 || die "install failed"
|
|
doman samdump2.1 || die "install failed"
|
|
}
|