wok view putty/receipt @ rev 12244

Up: slitaz-configs (4.9)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 09 18:09:48 2012 +0200 (2012-04-09)
parents fc4ba6b05756
children 782001a7b9bc
line source
1 # SliTaz package receipt.
3 PACKAGE="putty"
4 VERSION="0.62"
5 CATEGORY="utilities"
6 SHORT_DESC="A free telnet/SSH client."
7 MAINTAINER="rcx@zoominternet.net"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.chiark.greenend.org.uk/~sgtatham/putty/"
10 #WGET_URL="http://putty.linux-mirror.org/latest/$TARBALL"
11 WGET_URL="http://the.earth.li/~sgtatham/putty/latest/$TARBALL"
13 DEPENDS="glibc-base expat zlib gtk+ atk cairo freetype fontconfig glib \
14 libgio pango pixman libpng libxcb xcb-util xorg-libX11 xorg-libXau \
15 xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \
16 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender krb5 libcomerr3"
17 BUILD_DEPENDS="gtk+-dev imagemagick python perl krb5-dev openexr"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
23 cd $src/icons &&
24 make &&
25 make install &&
26 mkdir -p $DESTDIR/usr/share/pixmaps &&
27 cp $src/icons/pterm-48.png $DESTDIR/usr/share/pixmaps/pterm.png &&
28 cp $src/icons/putty-48.png $DESTDIR/usr/share/pixmaps/putty.png &&
30 cd $src/unix &&
32 sed -e 's/-Werror//g' -i configure &&
33 ./configure $CONFIGURE_ARGS &&
34 make XFLAGS=-DTELNET_DEFAULT &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share $fs/usr/share/pixmaps
43 cp -a $stuff/applications $_pkg/usr/share
44 cp -a $_pkg/usr/bin $fs/usr
45 cp -a $_pkg/usr/share/applications $fs/usr/share
46 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
47 }