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

Add ffserver
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 16 20:32:49 2014 +0100 (2014-03-16)
parents 07082c1a3c4f
children e3f377fbc5f0
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 }