wok view putty/receipt @ rev 21402
libtorrent-rasterbar: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 23 10:23:40 2019 +0200 (2019-04-23) |
parents | 2ac02e0b0a71 |
children | 982e49d39cc7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="putty"
4 VERSION="0.67"
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="https://www.chiark.greenend.org.uk/~sgtatham/putty/"
11 WGET_URL="http://the.earth.li/~sgtatham/putty/latest/$TARBALL"
12 TAGS="ssh"
14 DEPENDS="glibc-base expat zlib gtk+ atk cairo freetype fontconfig glib \
15 libgio pango pixman libpng libxcb xcb-util xorg-libX11 xorg-libXau \
16 xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \
17 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender krb5 libcomerr3"
18 BUILD_DEPENDS="gtk+-dev imagemagick python perl krb5-dev openexr libltdl"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
24 cd $src/icons &&
25 sed -i 's|:- %s|& 2>/dev/null|' mkicon.py
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 }