wok view putty/receipt @ rev 10698
winetricks: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 28 09:20:24 2011 +0200 (2011-05-28) |
parents | 7a71651655dc |
children | fc4ba6b05756 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.chiark.greenend.org.uk/~sgtatham/putty/"
10 #WGET_URL="http://putty.linux-mirror.org/latest/$TARBALL"
11 WGET_URL="http://tartarus.org/~simon/putty-snapshots/$TARBALL"
13 DEPENDS="glibc-base expat zlib gtk+ atk cairo freetype fontconfig glib \
14 libgio pango pixman libpng libxcb xcb-util xorg-libX11 xorg-libXau \
15 xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \
16 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender krb5 libcomerr3"
17 BUILD_DEPENDS="gtk+-dev imagemagick python perl krb5-dev openexr"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
23 cd $src/icons &&
24 make &&
25 make install &&
26 mkdir -p $DESTDIR/usr/share/pixmaps &&
27 cp $src/icons/pterm-48.png $DESTDIR/usr/share/pixmaps/pterm.png &&
28 cp $src/icons/putty-48.png $DESTDIR/usr/share/pixmaps/putty.png &&
30 cd $src/unix &&
32 sed -e 's/-Werror//g' -i configure &&
33 ./configure $CONFIGURE_ARGS &&
34 make XFLAGS=-DTELNET_DEFAULT &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share $fs/usr/share/pixmaps
43 cp -a $stuff/applications $_pkg/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 }