wok annotate hydra/receipt @ rev 18897

syslinux/isohybrid.exe add -r support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 14 22:06:06 2016 +0100 (2016-02-14)
parents 07082c1a3c4f
children e3f377fbc5f0
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."
pankso@974 7 MAINTAINER="pankso@slitaz.org"
pascal@14997 8 LICENSE="GPL3"
pankso@974 9 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
pankso@974 10 WEB_SITE="http://freeworld.thc.org/thc-hydra"
pankso@974 11 WGET_URL="http://freeworld.thc.org/releases/$TARBALL"
pankso@974 12
pascal@13182 13 DEPENDS="gtk+ openssl xorg-libXdamage apr libssh libmysqlclient \
pascal@13182 14 libidn libpostgresqlclient libsvn"
pascal@13182 15 BUILD_DEPENDS="openssl-dev apr-dev gtk+-dev libssh-dev libmysqlclient \
pascal@13182 16 postgresql-dev subversion-dev libidn-dev mysql-dev"
pascal@13181 17
pankso@974 18 # Rules to configure and make the package.
pankso@974 19 compile_rules()
pankso@974 20 {
pankso@974 21 cd $src
pankso@974 22 ./configure \
pankso@974 23 --prefix=/usr \
pankso@974 24 $CONFIGURE_ARGS
pankso@974 25 sed -i s/'cp -v'/'cp'/ hydra-gtk/make_xhydra.sh
pascal@7442 26 sed -i -e "s|gcc|gcc $( /usr/bin/apr-1-config --cppflags --cflags)|" \
pascal@7442 27 -e 's|^XLIBPATHS=|&-L/usr/lib/postgresql |' \
pascal@7442 28 -e 's|^XIPATHS= |&-I/usr/include/apr-1 |' Makefile
pankso@974 29 make
pascal@1491 30 [ -f hydra ]
pankso@974 31 }
pankso@974 32
pankso@974 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@974 34 genpkg_rules()
pankso@974 35 {
pankso@974 36 mkdir -p $fs/usr/bin
pankso@974 37 cp -a $src/hydra $fs/usr/bin
pankso@974 38 cp -a $src/xhydra $fs/usr/bin
pankso@974 39 }