wok view putty/receipt @ rev 5103
hal:update build_deps; hal-extra: add some removed fdi files
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Mar 16 17:21:07 2010 +0000 (2010-03-16) |
parents | 3a535152c0cf |
children | 1185a6cb9260 |
line source
1 # SliTaz package receipt.
3 PACKAGE="putty"
4 VERSION="0.60-2010-02-05"
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://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 {
22 cd $src/icons &&
23 make &&
24 make install &&
26 cd $src/unix &&
28 sed -i 's/AM_PATH_GTK(.*//' configure.ac &&
29 autoheader &&
30 autoconf &&
32 sed -e 's/-Werror//g' -i configure &&
33 ./configure \
34 --prefix=/usr \
35 --mandir=/usr/share/man \
36 $CONFIGURE_ARGS &&
37 make XFLAGS=-DTELNET_DEFAULT &&
38 make DESTDIR=$src/_pkg install
39 # &&
40 #cp $src/icons/pterm-48.png $src/_pkg/usr/share/pixmaps/pterm.png &&
41 #cp $src/icons/putty-48.png $src/_pkg/usr/share/pixmaps/putty.png
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/share $fs/usr/share/pixmaps
49 cp -a stuff/applications $src/_pkg/usr/share
50 cp -a $_pkg/usr/bin $fs/usr
51 cp -a $_pkg/usr/share/applications $fs/usr/share
52 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
53 cp -a $src/icons/pterm-48.png $fs/usr/share/pixmaps/pterm.png
54 cp -a $src/icons/putty-48.png $fs/usr/share/pixmaps/putty.png
55 }