wok-current view putty/receipt @ rev 15376

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 18 22:13:53 2013 +0000 (2013-10-18)
parents 782001a7b9bc
children f44ef80ff9e2
line source
1 # SliTaz package receipt.
3 PACKAGE="putty"
4 VERSION="0.62"
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"
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 make &&
26 make install &&
27 mkdir -p $DESTDIR/usr/share/pixmaps &&
28 cp $src/icons/pterm-48.png $DESTDIR/usr/share/pixmaps/pterm.png &&
29 cp $src/icons/putty-48.png $DESTDIR/usr/share/pixmaps/putty.png &&
31 cd $src/unix &&
33 sed -e 's/-Werror//g' -i configure &&
34 ./configure $CONFIGURE_ARGS &&
35 make XFLAGS=-DTELNET_DEFAULT &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share $fs/usr/share/pixmaps
44 cp -a $stuff/applications $install/usr/share
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/share/applications $fs/usr/share
47 cp -a $install/usr/share/pixmaps $fs/usr/share
48 }