# SliTaz package receipt. PACKAGE="putty" VERSION="0.62" CATEGORY="utilities" SHORT_DESC="A free telnet/SSH client." MAINTAINER="rcx@zoominternet.net" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.chiark.greenend.org.uk/~sgtatham/putty/" #WGET_URL="http://putty.linux-mirror.org/latest/$TARBALL" WGET_URL="http://the.earth.li/~sgtatham/putty/latest/$TARBALL" DEPENDS="glibc-base expat zlib gtk+ atk cairo freetype fontconfig glib \ libgio pango pixman libpng libxcb xcb-util xorg-libX11 xorg-libXau \ xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \ xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender krb5 libcomerr3" BUILD_DEPENDS="gtk+-dev imagemagick python perl krb5-dev openexr" # Rules to configure and make the package. compile_rules() { cd $src/icons && make && make install && mkdir -p $DESTDIR/usr/share/pixmaps && cp $src/icons/pterm-48.png $DESTDIR/usr/share/pixmaps/pterm.png && cp $src/icons/putty-48.png $DESTDIR/usr/share/pixmaps/putty.png && cd $src/unix && sed -e 's/-Werror//g' -i configure && ./configure $CONFIGURE_ARGS && make XFLAGS=-DTELNET_DEFAULT && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share $fs/usr/share/pixmaps cp -a $stuff/applications $_pkg/usr/share cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/share/applications $fs/usr/share cp -a $_pkg/usr/share/pixmaps $fs/usr/share }