wok-6.x view putty/receipt @ rev 24072
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 07 17:56:16 2021 +0000 (2021-07-07) |
parents | 39567aac1197 |
children | 2f230197370e |
line source
1 # SliTaz package receipt.
3 PACKAGE="putty"
4 VERSION="0.73"
5 CATEGORY="utilities"
6 TAGS="ssh telnet"
7 SHORT_DESC="A free telnet and SSH client."
8 MAINTAINER="rcx@zoominternet.net"
9 LICENSE="MIT"
10 WEB_SITE="https://www.chiark.greenend.org.uk/~sgtatham/putty/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://the.earth.li/~sgtatham/putty/latest/$TARBALL"
15 DEPENDS="atk cairo expat fontconfig freetype glib glibc-base gtk+ krb5 \
16 libcomerr3 libgio libpng libxcb pango pixman xcb-util xorg-libX11 \
17 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
18 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
19 xorg-libXrender zlib"
20 BUILD_DEPENDS="gtk+-dev imagemagick krb5-dev libltdl openexr perl py3k"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src/icons &&
26 sed -i 's|:- %s|& 2>/dev/null|' mkicon.py
28 make &&
29 make install &&
30 mkdir -p $DESTDIR/usr/share/pixmaps &&
31 cp $src/icons/pterm-48.png $DESTDIR/usr/share/pixmaps/pterm.png &&
32 cp $src/icons/putty-48.png $DESTDIR/usr/share/pixmaps/putty.png &&
34 cd $src/unix &&
35 sed -e 's/-Werror//g' -i configure &&
36 ./configure $CONFIGURE_ARGS &&
37 make XFLAGS=-DTELNET_DEFAULT &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share
45 mkdir -p $fs/usr/share/pixmaps
47 cp -a $stuff/applications $install/usr/share
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/usr/share/applications $fs/usr/share
50 cp -a $install/usr/share/pixmaps $fs/usr/share
51 }