wok view putty/receipt @ rev 19360

Up tazpkg (916)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 01 16:27:13 2016 +0200 (2016-08-01)
parents f44ef80ff9e2
children 2ac02e0b0a71
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 libgio 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 }