wok-next view hydra/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | d5aab818505e |
children | b4b0133513a0 |
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="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/vanhauser-thc/thc-hydra"
11 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
12 WGET_URL="http://freeworld.thc.org/releases/$TARBALL"
14 BUILD_DEPENDS="openssl-dev apr-dev gtk2-dev libssh-dev libmysqlclient \
15 postgresql-dev subversion-dev libidn-dev mysql-dev"
17 compile_rules() {
18 ./configure \
19 --prefix=/usr \
20 $CONFIGURE_ARGS
21 sed -i s/'cp -v'/'cp'/ hydra-gtk/make_xhydra.sh
22 sed -i -e "s|gcc|gcc $( /usr/bin/apr-1-config --cppflags --cflags)|" \
23 -e 's|^XLIBPATHS=|&-L/usr/lib/postgresql |' \
24 -e 's|^XIPATHS= |&-I/usr/include/apr-1 |' Makefile
25 make
26 [ -f hydra ]
27 }
29 genpkg_rules() {
30 mkdir -p $fs/usr/bin
31 cp -a $src/hydra $fs/usr/bin
32 cp -a $src/xhydra $fs/usr/bin
33 DEPENDS="gtk2 openssl libxdamage apr libssh libmysqlclient \
34 libidn libpostgresqlclient libsvn"
35 }