wok annotate putty/receipt @ rev 19770
Up: tazbug (2.0) No more gtk gui, new cmdline tools, plugins and better way to handle bugs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 21 04:43:09 2017 +0100 (2017-02-21) |
parents | ad6686d18a85 |
children | 6135577f4d08 |
rev | line source |
---|---|
rcx@4035 | 1 # SliTaz package receipt. |
rcx@4035 | 2 |
rcx@4035 | 3 PACKAGE="putty" |
pascal@19629 | 4 VERSION="0.67" |
rcx@4035 | 5 CATEGORY="utilities" |
rcx@4035 | 6 SHORT_DESC="A free telnet/SSH client." |
rcx@4035 | 7 MAINTAINER="rcx@zoominternet.net" |
pascal@15376 | 8 LICENSE="MIT" |
slaxemulator@10337 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@10337 | 10 WEB_SITE="http://www.chiark.greenend.org.uk/~sgtatham/putty/" |
slaxemulator@10337 | 11 #WGET_URL="http://putty.linux-mirror.org/latest/$TARBALL" |
slaxemulator@11028 | 12 WGET_URL="http://the.earth.li/~sgtatham/putty/latest/$TARBALL" |
pascal@17141 | 13 TAGS="ssh" |
slaxemulator@10337 | 14 |
rcx@4035 | 15 DEPENDS="glibc-base expat zlib gtk+ atk cairo freetype fontconfig glib \ |
rcx@4035 | 16 libgio pango pixman libpng libxcb xcb-util xorg-libX11 xorg-libXau \ |
rcx@4035 | 17 xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \ |
paul@4913 | 18 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender krb5 libcomerr3" |
pascal@12574 | 19 BUILD_DEPENDS="gtk+-dev imagemagick python perl krb5-dev openexr libltdl" |
erjo@4784 | 20 |
rcx@4035 | 21 # Rules to configure and make the package. |
rcx@4035 | 22 compile_rules() |
rcx@4035 | 23 { |
rcx@4035 | 24 |
rcx@4035 | 25 cd $src/icons && |
pascal@19629 | 26 sed -i 's|:- %s|& 2>/dev/null|' mkicon.py |
rcx@4035 | 27 make && |
rcx@4035 | 28 make install && |
slaxemulator@8985 | 29 mkdir -p $DESTDIR/usr/share/pixmaps && |
slaxemulator@8985 | 30 cp $src/icons/pterm-48.png $DESTDIR/usr/share/pixmaps/pterm.png && |
slaxemulator@8985 | 31 cp $src/icons/putty-48.png $DESTDIR/usr/share/pixmaps/putty.png && |
rcx@4035 | 32 |
rcx@4035 | 33 cd $src/unix && |
rcx@4035 | 34 |
rcx@4035 | 35 sed -e 's/-Werror//g' -i configure && |
slaxemulator@10337 | 36 ./configure $CONFIGURE_ARGS && |
rcx@4035 | 37 make XFLAGS=-DTELNET_DEFAULT && |
slaxemulator@8985 | 38 make install |
rcx@4035 | 39 } |
rcx@4035 | 40 |
rcx@4035 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@4035 | 42 genpkg_rules() |
rcx@4035 | 43 { |
erjo@4784 | 44 mkdir -p $fs/usr/share $fs/usr/share/pixmaps |
erjo@4784 | 45 |
pascal@15376 | 46 cp -a $stuff/applications $install/usr/share |
pascal@15376 | 47 cp -a $install/usr/bin $fs/usr |
pascal@15376 | 48 cp -a $install/usr/share/applications $fs/usr/share |
pascal@15376 | 49 cp -a $install/usr/share/pixmaps $fs/usr/share |
rcx@4035 | 50 } |