wok-current annotate putty/receipt @ rev 11473

raptor: raptor-config to rapto-dev
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Dec 17 16:26:48 2011 +0100 (2011-12-17)
parents fc4ba6b05756
children 782001a7b9bc
rev   line source
rcx@4035 1 # SliTaz package receipt.
rcx@4035 2
rcx@4035 3 PACKAGE="putty"
gokhlayeh@11439 4 VERSION="0.62"
rcx@4035 5 CATEGORY="utilities"
rcx@4035 6 SHORT_DESC="A free telnet/SSH client."
rcx@4035 7 MAINTAINER="rcx@zoominternet.net"
slaxemulator@10337 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@10337 9 WEB_SITE="http://www.chiark.greenend.org.uk/~sgtatham/putty/"
slaxemulator@10337 10 #WGET_URL="http://putty.linux-mirror.org/latest/$TARBALL"
slaxemulator@11028 11 WGET_URL="http://the.earth.li/~sgtatham/putty/latest/$TARBALL"
slaxemulator@10337 12
rcx@4035 13 DEPENDS="glibc-base expat zlib gtk+ atk cairo freetype fontconfig glib \
rcx@4035 14 libgio pango pixman libpng libxcb xcb-util xorg-libX11 xorg-libXau \
rcx@4035 15 xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \
paul@4913 16 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender krb5 libcomerr3"
pascal@10569 17 BUILD_DEPENDS="gtk+-dev imagemagick python perl krb5-dev openexr"
erjo@4784 18
rcx@4035 19 # Rules to configure and make the package.
rcx@4035 20 compile_rules()
rcx@4035 21 {
rcx@4035 22
rcx@4035 23 cd $src/icons &&
rcx@4035 24 make &&
rcx@4035 25 make install &&
slaxemulator@8985 26 mkdir -p $DESTDIR/usr/share/pixmaps &&
slaxemulator@8985 27 cp $src/icons/pterm-48.png $DESTDIR/usr/share/pixmaps/pterm.png &&
slaxemulator@8985 28 cp $src/icons/putty-48.png $DESTDIR/usr/share/pixmaps/putty.png &&
rcx@4035 29
rcx@4035 30 cd $src/unix &&
rcx@4035 31
rcx@4035 32 sed -e 's/-Werror//g' -i configure &&
slaxemulator@10337 33 ./configure $CONFIGURE_ARGS &&
rcx@4035 34 make XFLAGS=-DTELNET_DEFAULT &&
slaxemulator@8985 35 make install
rcx@4035 36 }
rcx@4035 37
rcx@4035 38 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@4035 39 genpkg_rules()
rcx@4035 40 {
erjo@4784 41 mkdir -p $fs/usr/share $fs/usr/share/pixmaps
erjo@4784 42
slaxemulator@8985 43 cp -a $stuff/applications $_pkg/usr/share
rcx@4035 44 cp -a $_pkg/usr/bin $fs/usr
rcx@4035 45 cp -a $_pkg/usr/share/applications $fs/usr/share
rcx@4035 46 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
rcx@4035 47 }