wok annotate hydra/receipt @ rev 1369

Add Qt4-dev
author Allan Pinto <allan316@gmail.com>
date Thu Sep 11 19:02:45 2008 +0000 (2008-09-11)
parents
children 4c400bd09135
rev   line source
pankso@974 1 # SliTaz package receipt.
pankso@974 2
pankso@974 3 PACKAGE="hydra"
pankso@974 4 VERSION="5.4"
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"
pankso@974 8 DEPENDS="gtk+"
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
pankso@974 13 # Rules to configure and make the package.
pankso@974 14 compile_rules()
pankso@974 15 {
pankso@974 16 mv $PACKAGE-$VERSION-src $PACKAGE-$VERSION
pankso@974 17 cd $src
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
pankso@974 22 make
pankso@974 23 }
pankso@974 24
pankso@974 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@974 26 genpkg_rules()
pankso@974 27 {
pankso@974 28 mkdir -p $fs/usr/bin
pankso@974 29 cp -a $src/hydra $fs/usr/bin
pankso@974 30 cp -a $src/xhydra $fs/usr/bin
pankso@974 31 }