wok-current view putty/receipt @ rev 14666
eio-dev: Up to 1.7.7
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Jun 06 22:08:21 2013 +0200 (2013-06-06) |
parents | 1f66719de426 |
children | bf4a09ef1d2e |
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 libltdl"
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 }