wok-next annotate hydra/receipt @ rev 21078
Update png and Xorg in dependencies.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 22 04:52:35 2018 +0200 (2018-12-22) |
parents | d5aab818505e |
children | b4b0133513a0 |
rev | line source |
---|---|
pankso@974 | 1 # SliTaz package receipt. |
pankso@974 | 2 |
pankso@974 | 3 PACKAGE="hydra" |
pascal@13181 | 4 VERSION="7.3" |
pankso@974 | 5 CATEGORY="system-tools" |
pankso@974 | 6 SHORT_DESC="THC password cracker for FTP, HTTP, HTTPS, SMB, etc." |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@14997 | 8 LICENSE="GPL3" |
al@21020 | 9 WEB_SITE="https://github.com/vanhauser-thc/thc-hydra" |
al@21020 | 10 |
pankso@974 | 11 TARBALL="$PACKAGE-$VERSION-src.tar.gz" |
pankso@974 | 12 WGET_URL="http://freeworld.thc.org/releases/$TARBALL" |
pankso@974 | 13 |
al@21017 | 14 BUILD_DEPENDS="openssl-dev apr-dev gtk2-dev libssh-dev libmysqlclient \ |
pascal@13182 | 15 postgresql-dev subversion-dev libidn-dev mysql-dev" |
pascal@13181 | 16 |
al@21020 | 17 compile_rules() { |
pankso@974 | 18 ./configure \ |
pankso@974 | 19 --prefix=/usr \ |
pankso@974 | 20 $CONFIGURE_ARGS |
pankso@974 | 21 sed -i s/'cp -v'/'cp'/ hydra-gtk/make_xhydra.sh |
pascal@7442 | 22 sed -i -e "s|gcc|gcc $( /usr/bin/apr-1-config --cppflags --cflags)|" \ |
pascal@7442 | 23 -e 's|^XLIBPATHS=|&-L/usr/lib/postgresql |' \ |
pascal@7442 | 24 -e 's|^XIPATHS= |&-I/usr/include/apr-1 |' Makefile |
pankso@974 | 25 make |
pascal@1491 | 26 [ -f hydra ] |
pankso@974 | 27 } |
pankso@974 | 28 |
al@21020 | 29 genpkg_rules() { |
pankso@974 | 30 mkdir -p $fs/usr/bin |
pankso@974 | 31 cp -a $src/hydra $fs/usr/bin |
pankso@974 | 32 cp -a $src/xhydra $fs/usr/bin |
al@21078 | 33 DEPENDS="gtk2 openssl libxdamage apr libssh libmysqlclient \ |
al@21020 | 34 libidn libpostgresqlclient libsvn" |
pankso@974 | 35 } |