wok-4.x view hydra/receipt @ rev 1389

Up: nmap 4.76
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Sep 17 23:50:27 2008 +0200 (2008-09-17)
parents
children 4c400bd09135
line source
1 # SliTaz package receipt.
3 PACKAGE="hydra"
4 VERSION="5.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="THC password cracker for FTP, HTTP, HTTPS, SMB, etc."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+"
9 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
10 WEB_SITE="http://freeworld.thc.org/thc-hydra"
11 WGET_URL="http://freeworld.thc.org/releases/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 mv $PACKAGE-$VERSION-src $PACKAGE-$VERSION
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 $CONFIGURE_ARGS
21 sed -i s/'cp -v'/'cp'/ hydra-gtk/make_xhydra.sh
22 make
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin
29 cp -a $src/hydra $fs/usr/bin
30 cp -a $src/xhydra $fs/usr/bin
31 }