wok-current view putty/receipt @ rev 20291
elilo: mkdir $install/usr/share (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 16 11:16:22 2018 +0200 (2018-04-16) |
parents | ad6686d18a85 |
children | 6135577f4d08 |
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="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 libgio pango pixman libpng libxcb 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 sed -i 's|:- %s|& 2>/dev/null|' mkicon.py
27 make &&
28 make install &&
29 mkdir -p $DESTDIR/usr/share/pixmaps &&
30 cp $src/icons/pterm-48.png $DESTDIR/usr/share/pixmaps/pterm.png &&
31 cp $src/icons/putty-48.png $DESTDIR/usr/share/pixmaps/putty.png &&
33 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 $fs/usr/share/pixmaps
46 cp -a $stuff/applications $install/usr/share
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/share/applications $fs/usr/share
49 cp -a $install/usr/share/pixmaps $fs/usr/share
50 }