wok-next view hydra/receipt @ rev 19709
Up at-spi2-atk, libpcap, nettle, readline, tiff, xcb-util* and 220 Perl packages (there are still about 20 left)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 11 02:23:02 2017 +0300 (2017-05-11) |
parents | 07082c1a3c4f |
children | 8e1b2a143eb3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="hydra"
4 VERSION="7.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="THC password cracker for FTP, HTTP, HTTPS, SMB, etc."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
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 DEPENDS="gtk+ openssl xorg-libXdamage apr libssh libmysqlclient \
14 libidn libpostgresqlclient libsvn"
15 BUILD_DEPENDS="openssl-dev apr-dev gtk+-dev libssh-dev libmysqlclient \
16 postgresql-dev subversion-dev libidn-dev mysql-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 $CONFIGURE_ARGS
25 sed -i s/'cp -v'/'cp'/ hydra-gtk/make_xhydra.sh
26 sed -i -e "s|gcc|gcc $( /usr/bin/apr-1-config --cppflags --cflags)|" \
27 -e 's|^XLIBPATHS=|&-L/usr/lib/postgresql |' \
28 -e 's|^XIPATHS= |&-I/usr/include/apr-1 |' Makefile
29 make
30 [ -f hydra ]
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
37 cp -a $src/hydra $fs/usr/bin
38 cp -a $src/xhydra $fs/usr/bin
39 }