wok view putty/receipt @ rev 4035
Add: PuTTY
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Mon Sep 07 17:17:20 2009 +0000 (2009-09-07) |
parents | |
children | 6b78ab374198 |
line source
1 # SliTaz package receipt.
3 PACKAGE="putty"
4 VERSION="0.60-2009-09-06"
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"
12 BUILD_DEPENDS="slitaz-toolchain gtk+-dev imagemagick"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WEB_SITE="http://putty.linux-mirror.org/"
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 {
21 mkdir -p $src/_pkg/usr/share/pixmaps
22 cp -a stuff/applications $src/_pkg/usr/share
24 cd $src/icons &&
25 make &&
26 make install &&
28 cd $src/unix &&
30 sed -e 's/-Werror//g' -i configure &&
31 ./configure \
32 --prefix=/usr \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 make XFLAGS=-DTELNET_DEFAULT &&
36 make DESTDIR=$src/_pkg install &&
37 cp $src/icons/pterm-48.png $src/_pkg/usr/share/pixmaps/pterm.png &&
38 cp $src/icons/putty-48.png $src/_pkg/usr/share/pixmaps/putty.png
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share
45 cp -a $_pkg/usr/bin $fs/usr
46 cp -a $_pkg/usr/share/applications $fs/usr/share
47 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
48 }