wok-next view putty/receipt @ rev 20312

Up lbreakout2 (2.6.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 10 21:31:06 2017 +0100 (2017-11-10)
parents ad6686d18a85
children bce36a298f1e
line source
1 # SliTaz package receipt.
3 PACKAGE="putty"
4 VERSION="0.64"
5 CATEGORY="utilities"
6 SHORT_DESC="A free telnet/SSH client."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.chiark.greenend.org.uk/~sgtatham/putty/"
11 #WGET_URL="http://putty.linux-mirror.org/latest/$TARBALL"
12 WGET_URL="http://the.earth.li/~sgtatham/putty/latest/$TARBALL"
13 TAGS="ssh"
15 DEPENDS="glibc-base expat zlib gtk+ atk cairo freetype fontconfig glib \
16 pango pixman libpng libxcb xcb-util xorg-libX11 xorg-libXau \
17 xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \
18 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender krb5 libcomerr3"
19 BUILD_DEPENDS="gtk+-dev imagemagick python perl krb5-dev openexr libltdl"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
25 cd $src/icons &&
26 make &&
27 make install &&
28 mkdir -p $DESTDIR/usr/share/pixmaps &&
29 cp $src/icons/pterm-48.png $DESTDIR/usr/share/pixmaps/pterm.png &&
30 cp $src/icons/putty-48.png $DESTDIR/usr/share/pixmaps/putty.png &&
32 cd $src/unix &&
34 sed -e 's/-Werror//g' -i configure &&
35 ./configure $CONFIGURE_ARGS &&
36 make XFLAGS=-DTELNET_DEFAULT &&
37 make install
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 $install/usr/share
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/share/applications $fs/usr/share
48 cp -a $install/usr/share/pixmaps $fs/usr/share
49 }