wok annotate putty/receipt @ rev 24884

corrected recipe for loudmouth
author Hans-G?nter Theisgen
date Fri Apr 01 07:42:28 2022 +0100 (2022-04-01)
parents 3dd240cd9e39
children 1805f71c5d9f
rev   line source
rcx@4035 1 # SliTaz package receipt.
rcx@4035 2
rcx@4035 3 PACKAGE="putty"
pascal@21954 4 VERSION="0.73"
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"
pascal@21957 20 BUILD_DEPENDS="gtk+-dev imagemagick krb5-dev libltdl openexr perl py3k"
erjo@4784 21
pascal@24459 22 # What is the latest version available today?
pascal@24459 23 current_version()
pascal@24459 24 {
pascal@24459 25 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24459 26 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24459 27 }
pascal@24459 28
rcx@4035 29 # Rules to configure and make the package.
rcx@4035 30 compile_rules()
rcx@4035 31 {
rcx@4035 32 cd $src/icons &&
pascal@19629 33 sed -i 's|:- %s|& 2>/dev/null|' mkicon.py
Hans-G?nter@21728 34
rcx@4035 35 make &&
rcx@4035 36 make install &&
slaxemulator@8985 37 mkdir -p $DESTDIR/usr/share/pixmaps &&
slaxemulator@8985 38 cp $src/icons/pterm-48.png $DESTDIR/usr/share/pixmaps/pterm.png &&
slaxemulator@8985 39 cp $src/icons/putty-48.png $DESTDIR/usr/share/pixmaps/putty.png &&
rcx@4035 40
rcx@4035 41 cd $src/unix &&
rcx@4035 42 sed -e 's/-Werror//g' -i configure &&
slaxemulator@10337 43 ./configure $CONFIGURE_ARGS &&
rcx@4035 44 make XFLAGS=-DTELNET_DEFAULT &&
slaxemulator@8985 45 make install
rcx@4035 46 }
rcx@4035 47
rcx@4035 48 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@4035 49 genpkg_rules()
rcx@4035 50 {
Hans-G?nter@21728 51 mkdir -p $fs/usr/share
Hans-G?nter@21728 52 mkdir -p $fs/usr/share/pixmaps
Hans-G?nter@21728 53
Hans-G?nter@21728 54 cp -a $stuff/applications $install/usr/share
Hans-G?nter@21728 55 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21728 56 cp -a $install/usr/share/applications $fs/usr/share
Hans-G?nter@21728 57 cp -a $install/usr/share/pixmaps $fs/usr/share
rcx@4035 58 }