wok view putty/receipt @ rev 5899

Up: xchat* (2.8.8)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Jul 23 17:07:57 2010 +0200 (2010-07-23)
parents 2e29c594f34e
children d4cddb6e5100
line source
1 # SliTaz package receipt.
3 PACKAGE="putty"
4 VERSION="0.60-2010-02-05"
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 libcomerr3"
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 WEB_SITE="http://www.chiark.greenend.org.uk/~sgtatham/putty/"
16 #WGET_URL="http://putty.linux-mirror.org/latest/$TARBALL"
17 WGET_URL="http://tartarus.org/~simon/putty-snapshots/$TARBALL"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
23 cd $src/icons &&
24 make &&
25 make install &&
27 cd $src/unix &&
29 sed -i 's/AM_PATH_GTK(.*//' configure.ac &&
30 autoheader &&
31 autoconf &&
33 sed -e 's/-Werror//g' -i configure &&
34 ./configure \
35 --prefix=/usr \
36 --mandir=/usr/share/man \
37 $CONFIGURE_ARGS &&
38 make XFLAGS=-DTELNET_DEFAULT &&
39 make DESTDIR=$src/_pkg install
40 # &&
41 #cp $src/icons/pterm-48.png $src/_pkg/usr/share/pixmaps/pterm.png &&
42 #cp $src/icons/putty-48.png $src/_pkg/usr/share/pixmaps/putty.png
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/share $fs/usr/share/pixmaps
50 cp -a stuff/applications $src/_pkg/usr/share
51 cp -a $_pkg/usr/bin $fs/usr
52 cp -a $_pkg/usr/share/applications $fs/usr/share
53 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
54 cp -a $src/icons/pterm-48.png $fs/usr/share/pixmaps/pterm.png
55 cp -a $src/icons/putty-48.png $fs/usr/share/pixmaps/putty.png
56 }