wok-current view putty/receipt @ rev 25593
Use default gcc 6.3 for flac
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Aug 31 19:04:33 2023 +0000 (15 months ago) |
parents | 2f230197370e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="putty"
4 VERSION="0.73"
5 CATEGORY="utilities"
6 TAGS="ssh telnet"
7 SHORT_DESC="A free telnet and SSH client."
8 MAINTAINER="rcx@zoominternet.net"
9 LICENSE="MIT"
10 WEB_SITE="https://www.chiark.greenend.org.uk/~sgtatham/putty/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://the.earth.li/~sgtatham/putty/$VERSION/$TARBALL"
15 DEPENDS="atk cairo expat fontconfig freetype glib glibc-base gtk+ krb5 \
16 libcomerr3 libgio libpng libxcb pango pixman xcb-util xorg-libX11 \
17 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
18 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
19 xorg-libXrender zlib"
20 BUILD_DEPENDS="gtk+-dev imagemagick krb5-dev libltdl openexr perl py3k"
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
26 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 cd $src/icons &&
33 sed -i 's|:- %s|& 2>/dev/null|' mkicon.py
35 make &&
36 make install &&
37 mkdir -p $DESTDIR/usr/share/pixmaps &&
38 cp $src/icons/pterm-48.png $DESTDIR/usr/share/pixmaps/pterm.png &&
39 cp $src/icons/putty-48.png $DESTDIR/usr/share/pixmaps/putty.png &&
41 cd $src/unix &&
42 sed -e 's/-Werror//g' -i configure &&
43 ./configure $CONFIGURE_ARGS &&
44 make XFLAGS=-DTELNET_DEFAULT &&
45 make install
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 mkdir -p $fs/usr/share
52 mkdir -p $fs/usr/share/pixmaps
54 cp -a $stuff/applications $install/usr/share
55 cp -a $install/usr/bin $fs/usr
56 cp -a $install/usr/share/applications $fs/usr/share
57 cp -a $install/usr/share/pixmaps $fs/usr/share
58 }