wok-next view putty/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents 7eb047d2b438
children ca6fe141ca35
line source
1 # SliTaz package receipt.
3 PACKAGE="putty"
4 VERSION="0.64"
5 CATEGORY="utilities"
6 SHORT_DESC="A free telnet/SSH client."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.chiark.greenend.org.uk/~sgtatham/putty/"
11 #WGET_URL="http://putty.linux-mirror.org/latest/$TARBALL"
12 WGET_URL="http://the.earth.li/~sgtatham/putty/latest/$TARBALL"
13 TAGS="ssh"
15 DEPENDS="glibc-base expat zlib gtk+ atk cairo freetype fontconfig glib \
16 pango xorg-pixman libpng16 xorg-libxcb xorg-xcb-util xorg-libX11 xorg-libXau \
17 xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \
18 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender krb5 libcomerr3"
19 BUILD_DEPENDS="gtk+-dev imagemagick python perl krb5-dev openexr libltdl"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
25 cd $src/icons &&
26 make &&
27 make install &&
28 mkdir -p $DESTDIR/usr/share/pixmaps &&
29 cp $src/icons/pterm-48.png $DESTDIR/usr/share/pixmaps/pterm.png &&
30 cp $src/icons/putty-48.png $DESTDIR/usr/share/pixmaps/putty.png &&
32 cd $src/unix &&
34 sed -e 's/-Werror//g' -i configure &&
35 ./configure $CONFIGURE_ARGS &&
36 make XFLAGS=-DTELNET_DEFAULT &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/share $fs/usr/share/pixmaps
45 cp -a $stuff/applications $install/usr/share
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/share/applications $fs/usr/share
48 cp -a $install/usr/share/pixmaps $fs/usr/share
49 }