wok annotate putty/receipt @ rev 21747
tazboot: spare 2k
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 14 17:17:16 2019 +0200 (2019-06-14) |
parents | 6135577f4d08 |
children | 39567aac1197 |
rev | line source |
---|---|
rcx@4035 | 1 # SliTaz package receipt. |
rcx@4035 | 2 |
rcx@4035 | 3 PACKAGE="putty" |
Hans-G?nter@21728 | 4 VERSION="0.71" |
rcx@4035 | 5 CATEGORY="utilities" |
Hans-G?nter@21728 | 6 TAGS="ssh telnet" |
Hans-G?nter@21728 | 7 SHORT_DESC="A free telnet and SSH client." |
rcx@4035 | 8 MAINTAINER="rcx@zoominternet.net" |
pascal@15376 | 9 LICENSE="MIT" |
Hans-G?nter@21728 | 10 WEB_SITE="https://www.chiark.greenend.org.uk/~sgtatham/putty/" |
Hans-G?nter@21728 | 11 |
slaxemulator@10337 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@11028 | 13 WGET_URL="http://the.earth.li/~sgtatham/putty/latest/$TARBALL" |
slaxemulator@10337 | 14 |
Hans-G?nter@21728 | 15 DEPENDS="atk cairo expat fontconfig freetype glib glibc-base gtk+ krb5 \ |
Hans-G?nter@21728 | 16 libcomerr3 libgio libpng libxcb pango pixman xcb-util xorg-libX11 \ |
Hans-G?nter@21728 | 17 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \ |
Hans-G?nter@21728 | 18 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \ |
Hans-G?nter@21728 | 19 xorg-libXrender zlib" |
Hans-G?nter@21728 | 20 BUILD_DEPENDS="gtk+-dev imagemagick krb5-dev libltdl openexr perl python" |
erjo@4784 | 21 |
rcx@4035 | 22 # Rules to configure and make the package. |
rcx@4035 | 23 compile_rules() |
rcx@4035 | 24 { |
rcx@4035 | 25 cd $src/icons && |
pascal@19629 | 26 sed -i 's|:- %s|& 2>/dev/null|' mkicon.py |
Hans-G?nter@21728 | 27 |
rcx@4035 | 28 make && |
rcx@4035 | 29 make install && |
slaxemulator@8985 | 30 mkdir -p $DESTDIR/usr/share/pixmaps && |
slaxemulator@8985 | 31 cp $src/icons/pterm-48.png $DESTDIR/usr/share/pixmaps/pterm.png && |
slaxemulator@8985 | 32 cp $src/icons/putty-48.png $DESTDIR/usr/share/pixmaps/putty.png && |
rcx@4035 | 33 |
rcx@4035 | 34 cd $src/unix && |
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 { |
Hans-G?nter@21728 | 44 mkdir -p $fs/usr/share |
Hans-G?nter@21728 | 45 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@21728 | 46 |
Hans-G?nter@21728 | 47 cp -a $stuff/applications $install/usr/share |
Hans-G?nter@21728 | 48 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21728 | 49 cp -a $install/usr/share/applications $fs/usr/share |
Hans-G?nter@21728 | 50 cp -a $install/usr/share/pixmaps $fs/usr/share |
rcx@4035 | 51 } |