wok view hydra/receipt @ rev 14711

Up ManaPlus
author Brenton Scott <admin@trixarian.net>
date Sun Jun 09 16:52:49 2013 +0200 (2013-06-09)
parents e6d69f8e05ad
children 7d6089953592
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 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
9 WEB_SITE="http://freeworld.thc.org/thc-hydra"
10 WGET_URL="http://freeworld.thc.org/releases/$TARBALL"
12 DEPENDS="gtk+ openssl xorg-libXdamage apr libssh libmysqlclient \
13 libidn libpostgresqlclient libsvn"
14 BUILD_DEPENDS="openssl-dev apr-dev gtk+-dev libssh-dev libmysqlclient \
15 postgresql-dev subversion-dev libidn-dev mysql-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 $CONFIGURE_ARGS
24 sed -i s/'cp -v'/'cp'/ hydra-gtk/make_xhydra.sh
25 sed -i -e "s|gcc|gcc $( /usr/bin/apr-1-config --cppflags --cflags)|" \
26 -e 's|^XLIBPATHS=|&-L/usr/lib/postgresql |' \
27 -e 's|^XIPATHS= |&-I/usr/include/apr-1 |' Makefile
28 make
29 [ -f hydra ]
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin
36 cp -a $src/hydra $fs/usr/bin
37 cp -a $src/xhydra $fs/usr/bin
38 }