wok-6.x view hydra/receipt @ rev 2053
slim: backup config if exist (mainly keep screen config when upgrade)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jan 17 23:08:54 2009 +0100 (2009-01-17) |
parents | 6d5a7118a980 |
children | be4b9618ea05 |
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+ openssl"
9 BUILD_DEPENDS="openssl-dev libpostgresqlclient"
10 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
11 WEB_SITE="http://freeworld.thc.org/thc-hydra"
12 WGET_URL="http://freeworld.thc.org/releases/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mv $PACKAGE-$VERSION-src $PACKAGE-$VERSION
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 $CONFIGURE_ARGS
22 sed -i s/'cp -v'/'cp'/ hydra-gtk/make_xhydra.sh
23 make
24 [ -f hydra ]
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $src/hydra $fs/usr/bin
32 cp -a $src/xhydra $fs/usr/bin
33 }