wok-4.x annotate putty/receipt @ rev 10172

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