wok view hydra/receipt @ rev 13952

xournal: up to 4.7
author ernia <monghitri@aruba.it>
date Tue Jan 29 21:53:31 2013 +0000 (2013-01-29)
parents d2b50ec81e57
children 07082c1a3c4f
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 mv $PACKAGE-$VERSION-src $PACKAGE-$VERSION
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 }