wok-4.x view hydra/receipt @ rev 6398

Added build_depends needed for xorg-libXss to build in clean chroot. Fixed xorg-libXss-dev to have the files need to build gnome-mplayer.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Sep 24 18:38:31 2010 +0000 (2010-09-24)
parents be4b9618ea05
children 94e5dc505aa0
line source
1 # SliTaz package receipt.
3 PACKAGE="hydra"
4 VERSION="5.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="THC password cracker for FTP, HTTP, HTTPS, SMB, etc."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ openssl xorg-libXdamage"
9 BUILD_DEPENDS="openssl-dev"
10 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
11 WEB_SITE="http://freeworld.thc.org/thc-hydra"
12 WGET_URL="http://freeworld.thc.org/releases/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mv $PACKAGE-$VERSION-src $PACKAGE-$VERSION
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 $CONFIGURE_ARGS
22 sed -i s/'cp -v'/'cp'/ hydra-gtk/make_xhydra.sh
23 sed -i -e 's/ -DLIBPOSTGRES$//' -e 's/ -lpq / /' Makefile
24 make
25 [ -f hydra ]
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 cp -a $src/hydra $fs/usr/bin
33 cp -a $src/xhydra $fs/usr/bin
34 }