wok diff hydra/receipt @ rev 1112
iw: fake source tree before cd
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jul 19 21:06:23 2008 +0200 (2008-07-19) |
parents | |
children | 4c400bd09135 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/hydra/receipt Sat Jul 19 21:06:23 2008 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="hydra" 1.7 +VERSION="5.4" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="THC password cracker for FTP, HTTP, HTTPS, SMB, etc." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="gtk+" 1.12 +TARBALL="$PACKAGE-$VERSION-src.tar.gz" 1.13 +WEB_SITE="http://freeworld.thc.org/thc-hydra" 1.14 +WGET_URL="http://freeworld.thc.org/releases/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + mv $PACKAGE-$VERSION-src $PACKAGE-$VERSION 1.20 + cd $src 1.21 + ./configure \ 1.22 + --prefix=/usr \ 1.23 + $CONFIGURE_ARGS 1.24 + sed -i s/'cp -v'/'cp'/ hydra-gtk/make_xhydra.sh 1.25 + make 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/usr/bin 1.32 + cp -a $src/hydra $fs/usr/bin 1.33 + cp -a $src/xhydra $fs/usr/bin 1.34 +}