wok-6.x view hydra/receipt @ rev 12492

Up: dbus (1.4.20) add dbus-helper package
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 24 14:57:02 2012 +0200 (2012-04-24)
parents 807b0398a327
children d2b50ec81e57
line source
1 # SliTaz package receipt.
3 PACKAGE="hydra"
4 VERSION="5.9"
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 xorg-libXdamage apr"
9 BUILD_DEPENDS="openssl-dev apr-dev gtk+-dev"
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 sed -i -e "s|gcc|gcc $( /usr/bin/apr-1-config --cppflags --cflags)|" \
24 -e 's|^XLIBPATHS=|&-L/usr/lib/postgresql |' \
25 -e 's|^XIPATHS= |&-I/usr/include/apr-1 |' Makefile
26 make
27 [ -f hydra ]
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $src/hydra $fs/usr/bin
35 cp -a $src/xhydra $fs/usr/bin
36 }