/[gentoo-x86]/app-crypt/mdcrack/mdcrack-1.2.ebuild
Gentoo

Contents of /app-crypt/mdcrack/mdcrack-1.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (download) (vendor branch)
Wed Nov 30 09:44:52 2005 UTC (13 years, 11 months ago) by chriswhite
Changes since 1.1: +9 -4 lines
*** empty log message ***

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-crypt/mdcrack/mdcrack-1.2.ebuild,v 1.3 2005/09/10 22:47:30 vanquirius Exp $
4
5 inherit eutils
6
7 DESCRIPTION="A MD4/MD5/NTML hashes bruteforcer."
8 HOMEPAGE="http://mdcrack.df.ru/"
9 SRC_URI="http://mdcrack.df.ru/download/${P}.tar.gz"
10 SLOT="0"
11 LICENSE="GPL-2"
12 KEYWORDS="~amd64 ~x86"
13 IUSE="ncurses"
14 DEPEND="virtual/libc"
15
16 src_unpack() {
17 unpack ${A}
18 epatch ${FILESDIR}/${P}-gcc4.diff
19 }
20
21 src_compile() {
22 use ncurses || \
23 sed -i -e 's/^NCURSES/#NCURSES/g' \
24 -e 's/^LDFLAGS/#LDFLAGS/g' Makefile
25 sed -i "s,^\(CFLAGS =\).*,\1 ${CFLAGS},g" Makefile
26
27 #endian
28 emake little || die "emake failed"
29 }
30
31 src_test() {
32 make fulltest ||die 'self test failed'
33 }
34
35 src_install() {
36 dobin bin/mdcrack
37 dodoc BENCHMARKS CREDITS FAQ README TODO VERSIONS WWW
38 }

  ViewVC Help
Powered by ViewVC 1.1.20