wok-next view putty/receipt @ rev 4820

Fix: fix WGET_URL to gdb-python.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Jan 20 11:49:15 2010 +0100 (2010-01-20)
parents f8052cf84356
children b03684d53662
line source
1 # SliTaz package receipt.
3 PACKAGE="putty"
4 VERSION="0.60-2010-01-12"
5 CATEGORY="utilities"
6 SHORT_DESC="A free telnet/SSH client."
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="glibc-base expat zlib gtk+ atk cairo freetype fontconfig glib \
9 libgio pango pixman libpng libxcb xcb-util xorg-libX11 xorg-libXau \
10 xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \
11 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender krb5"
12 BUILD_DEPENDS="slitaz-toolchain gtk+-dev imagemagick python perl krb5-dev"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 #WEB_SITE="http://putty.linux-mirror.org/"
15 #WGET_URL="http://putty.linux-mirror.org/latest/$TARBALL"
16 WGET_URL="http://tartarus.org/~simon/putty-snapshots/$TARBALL"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
22 cd $src/icons &&
23 make &&
24 make install &&
26 cd $src/unix &&
28 sed -e 's/-Werror//g' -i configure &&
29 ./configure \
30 --prefix=/usr \
31 --mandir=/usr/share/man \
32 $CONFIGURE_ARGS &&
33 make XFLAGS=-DTELNET_DEFAULT &&
34 make DESTDIR=$src/_pkg install
35 # &&
36 #cp $src/icons/pterm-48.png $src/_pkg/usr/share/pixmaps/pterm.png &&
37 #cp $src/icons/putty-48.png $src/_pkg/usr/share/pixmaps/putty.png
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/share $fs/usr/share/pixmaps
45 cp -a stuff/applications $src/_pkg/usr/share
46 cp -a $_pkg/usr/bin $fs/usr
47 cp -a $_pkg/usr/share/applications $fs/usr/share
48 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
49 cp -a $src/icons/pterm-48.png $fs/usr/share/pixmaps/pterm.png
50 cp -a $src/icons/putty-48.png $fs/usr/share/pixmaps/putty.png
51 }