wok-current view putty/receipt @ rev 23843

gettext: add ncurses to depends
author Richard Dunbar <mojo@slitaz.org>
date Sat Jun 13 02:21:20 2020 -0400 (2020-06-13)
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 }