wok-4.x view putty/receipt @ rev 4172
Fix: python-nose FSH (no /usr/man)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Sep 22 21:12:59 2009 +0200 (2009-09-22) |
parents | 6b78ab374198 |
children | f8052cf84356 |
line source
1 # SliTaz package receipt.
3 PACKAGE="putty"
4 VERSION="0.60-2009-09-08"
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 python"
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"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir -p $src/_pkg/usr/share/pixmaps
21 cp -a stuff/applications $src/_pkg/usr/share
23 cd $src/icons &&
24 make &&
25 make install &&
27 cd $src/unix &&
29 sed -e 's/-Werror//g' -i configure &&
30 ./configure \
31 --prefix=/usr \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make XFLAGS=-DTELNET_DEFAULT &&
35 make DESTDIR=$src/_pkg install &&
36 cp $src/icons/pterm-48.png $src/_pkg/usr/share/pixmaps/pterm.png &&
37 cp $src/icons/putty-48.png $src/_pkg/usr/share/pixmaps/putty.png
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/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 }