wok view putty/receipt @ rev 8693
Automated merge with http://repos.slitaz.org/wok
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Feb 17 19:08:45 2011 +0100 (2011-02-17) |
parents | d4cddb6e5100 |
children | ee745611c18f |
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="slitaz-toolchain 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 $src/_pkg/usr/share/pixmaps &&
26 cp $src/icons/pterm-48.png $src/_pkg/usr/share/pixmaps/pterm.png &&
27 cp $src/icons/putty-48.png $src/_pkg/usr/share/pixmaps/putty.png &&
29 cd $src/unix &&
31 sed -e 's/-Werror//g' -i configure &&
32 ./configure \
33 --prefix=/usr \
34 --mandir=/usr/share/man \
35 $CONFIGURE_ARGS &&
36 make XFLAGS=-DTELNET_DEFAULT &&
37 make DESTDIR=$src/_pkg 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 $src/_pkg/usr/share
46 cp -a $_pkg/usr/bin $fs/usr
47 cp -a $_pkg/usr/share/applications $fs/usr/share
48 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
49 }