wok-current rev 4035

Add: PuTTY
author Matthew Sheets <rcx@zoominternet.net>
date Mon Sep 07 17:17:20 2009 +0000 (2009-09-07)
parents 57411a44bf69
children d437e141264c
files putty/receipt putty/stuff/applications/pterm.desktop putty/stuff/applications/putty.desktop
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/putty/receipt	Mon Sep 07 17:17:20 2009 +0000
     1.3 @@ -0,0 +1,48 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="putty"
     1.7 +VERSION="0.60-2009-09-06"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="A free telnet/SSH client."
    1.10 +MAINTAINER="rcx@zoominternet.net"
    1.11 +DEPENDS="glibc-base expat zlib gtk+ atk cairo freetype fontconfig glib \
    1.12 +libgio pango pixman libpng libxcb xcb-util xorg-libX11 xorg-libXau \
    1.13 +xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \
    1.14 +xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender"
    1.15 +BUILD_DEPENDS="slitaz-toolchain gtk+-dev imagemagick"
    1.16 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 +WEB_SITE="http://putty.linux-mirror.org/"
    1.18 +#WGET_URL="http://putty.linux-mirror.org/latest/$TARBALL"
    1.19 +WGET_URL="http://tartarus.org/~simon/putty-snapshots/$TARBALL"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +	mkdir -p $src/_pkg/usr/share/pixmaps
    1.25 +	cp -a stuff/applications $src/_pkg/usr/share
    1.26 +
    1.27 +	cd $src/icons &&
    1.28 +	make &&
    1.29 +	make install &&
    1.30 +	
    1.31 +	cd $src/unix &&
    1.32 +
    1.33 +	sed -e 's/-Werror//g' -i configure &&
    1.34 +	./configure \
    1.35 +		--prefix=/usr \
    1.36 +		--mandir=/usr/share/man \
    1.37 +		$CONFIGURE_ARGS &&
    1.38 +	make XFLAGS=-DTELNET_DEFAULT &&
    1.39 +	make DESTDIR=$src/_pkg install &&
    1.40 +	cp $src/icons/pterm-48.png $src/_pkg/usr/share/pixmaps/pterm.png &&
    1.41 +	cp $src/icons/putty-48.png $src/_pkg/usr/share/pixmaps/putty.png
    1.42 +}
    1.43 +
    1.44 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.45 +genpkg_rules()
    1.46 +{
    1.47 +	mkdir -p $fs/usr/share
    1.48 +	cp -a $_pkg/usr/bin $fs/usr
    1.49 +	cp -a $_pkg/usr/share/applications $fs/usr/share
    1.50 +	cp -a $_pkg/usr/share/pixmaps $fs/usr/share
    1.51 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/putty/stuff/applications/pterm.desktop	Mon Sep 07 17:17:20 2009 +0000
     2.3 @@ -0,0 +1,8 @@
     2.4 +[Desktop Entry]
     2.5 +Encoding=UTF-8
     2.6 +Name=PTerm Terminal
     2.7 +Name[fr]=Terminal PTerm
     2.8 +Exec=pterm -ls
     2.9 +Icon=pterm
    2.10 +Type=Application
    2.11 +Categories=Utility;Terminal;
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/putty/stuff/applications/putty.desktop	Mon Sep 07 17:17:20 2009 +0000
     3.3 @@ -0,0 +1,7 @@
     3.4 +[Desktop Entry]
     3.5 +Encoding=UTF-8
     3.6 +Name=PuTTY
     3.7 +Exec=putty
     3.8 +Icon=putty
     3.9 +Type=Application
    3.10 +Categories=Utility;Terminal;