summaryrefslogtreecommitdiff
blob: 7c39850390640a4ab95c28a1edd28ac182587c4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/chntpw/chntpw-0.99.4.20070923.ebuild,v 1.2 2008/01/10 12:11:33 alonbl Exp $

DESCRIPTION="Offline Windows NT Password & Registry Editor"
HOMEPAGE="http://home.eunet.no/~pnordahl/ntpasswd/"
MY_PV="${PV/*200/0}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc"
RDEPEND="dev-libs/openssl"
DEPEND="${DEPEND}
	app-arch/unzip"
SRC_URI="http://home.eunet.no/~pnordahl/ntpasswd/${PN}-source-${MY_PV}.zip"
IUSE="static"
S="${WORKDIR}/${PN}-${MY_PV}"

src_compile() {
	emake LIBS="-lcrypto" CFLAGS="${CFLAGS}" || die "emake failed"
}

src_install() {
	dobin chntpw
	use static && dobin chntpw.static
	dobin cpnt
	dodoc *.txt
}