wok-6.x view putty/receipt @ rev 9536

Up: tazpkg (4.6.1) - Bug fix
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 08 18:42:01 2011 +0200 (2011-04-08)
parents 03e76c74becd
children 7a71651655dc
line source
1 # SliTaz package receipt.
3 PACKAGE="putty"
4 VERSION="0.60-2010-08-29"
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="gtk+-dev imagemagick python perl krb5-dev"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WEB_SITE="http://www.chiark.greenend.org.uk/~sgtatham/putty/"
15 #WGET_URL="http://putty.linux-mirror.org/latest/$TARBALL"
16 WGET_URL="http://tartarus.org/~simon/putty-snapshots/$TARBALL"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
22 cd $src/icons &&
23 make &&
24 make install &&
25 mkdir -p $DESTDIR/usr/share/pixmaps &&
26 cp $src/icons/pterm-48.png $DESTDIR/usr/share/pixmaps/pterm.png &&
27 cp $src/icons/putty-48.png $DESTDIR/usr/share/pixmaps/putty.png &&
29 cd $src/unix &&
31 sed -e 's/-Werror//g' -i configure &&
32 ./configure &&
33 make XFLAGS=-DTELNET_DEFAULT &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share $fs/usr/share/pixmaps
42 cp -a $stuff/applications $_pkg/usr/share
43 cp -a $_pkg/usr/bin $fs/usr
44 cp -a $_pkg/usr/share/applications $fs/usr/share
45 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
46 }