wok annotate hydra/receipt @ rev 8269

Up: mplayer to 1.0rc4. Up: mplayer-skins to 1.0rc4.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jan 30 01:21:47 2011 +0000 (2011-01-30)
parents 07cde33f4996
children 107829ecc5d8
rev   line source
pankso@974 1 # SliTaz package receipt.
pankso@974 2
pankso@974 3 PACKAGE="hydra"
pascal@7442 4 VERSION="5.9"
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"
slaxemulator@6494 8 DEPENDS="gtk+ openssl xorg-libXdamage apr"
slaxemulator@6494 9 BUILD_DEPENDS="openssl-dev apr-dev"
pankso@974 10 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
pankso@974 11 WEB_SITE="http://freeworld.thc.org/thc-hydra"
pankso@974 12 WGET_URL="http://freeworld.thc.org/releases/$TARBALL"
pankso@974 13
pankso@974 14 # Rules to configure and make the package.
pankso@974 15 compile_rules()
pankso@974 16 {
pankso@974 17 mv $PACKAGE-$VERSION-src $PACKAGE-$VERSION
pankso@974 18 cd $src
pankso@974 19 ./configure \
pankso@974 20 --prefix=/usr \
pankso@974 21 $CONFIGURE_ARGS
pankso@974 22 sed -i s/'cp -v'/'cp'/ hydra-gtk/make_xhydra.sh
pascal@7442 23 sed -i -e "s|gcc|gcc $( /usr/bin/apr-1-config --cppflags --cflags)|" \
pascal@7442 24 -e 's|^XLIBPATHS=|&-L/usr/lib/postgresql |' \
pascal@7442 25 -e 's|^XIPATHS= |&-I/usr/include/apr-1 |' Makefile
pankso@974 26 make
pascal@1491 27 [ -f hydra ]
pankso@974 28 }
pankso@974 29
pankso@974 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@974 31 genpkg_rules()
pankso@974 32 {
pankso@974 33 mkdir -p $fs/usr/bin
pankso@974 34 cp -a $src/hydra $fs/usr/bin
pankso@974 35 cp -a $src/xhydra $fs/usr/bin
pankso@974 36 }