wok-stable annotate putty/receipt @ rev 5980
busybox: add ed
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 13 10:07:38 2010 +0200 (2010-08-13) |
parents | 2e29c594f34e |
children | d4cddb6e5100 |
rev | line source |
---|---|
rcx@4035 | 1 # SliTaz package receipt. |
rcx@4035 | 2 |
rcx@4035 | 3 PACKAGE="putty" |
pankso@4886 | 4 VERSION="0.60-2010-02-05" |
rcx@4035 | 5 CATEGORY="utilities" |
rcx@4035 | 6 SHORT_DESC="A free telnet/SSH client." |
rcx@4035 | 7 MAINTAINER="rcx@zoominternet.net" |
rcx@4035 | 8 DEPENDS="glibc-base expat zlib gtk+ atk cairo freetype fontconfig glib \ |
rcx@4035 | 9 libgio pango pixman libpng libxcb xcb-util xorg-libX11 xorg-libXau \ |
rcx@4035 | 10 xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \ |
paul@4913 | 11 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender krb5 libcomerr3" |
erjo@4784 | 12 BUILD_DEPENDS="slitaz-toolchain gtk+-dev imagemagick python perl krb5-dev" |
rcx@4035 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@4784 | 14 #WEB_SITE="http://putty.linux-mirror.org/" |
pascal@5729 | 15 WEB_SITE="http://www.chiark.greenend.org.uk/~sgtatham/putty/" |
rcx@4035 | 16 #WGET_URL="http://putty.linux-mirror.org/latest/$TARBALL" |
rcx@4035 | 17 WGET_URL="http://tartarus.org/~simon/putty-snapshots/$TARBALL" |
erjo@4784 | 18 |
rcx@4035 | 19 # Rules to configure and make the package. |
rcx@4035 | 20 compile_rules() |
rcx@4035 | 21 { |
rcx@4035 | 22 |
rcx@4035 | 23 cd $src/icons && |
rcx@4035 | 24 make && |
rcx@4035 | 25 make install && |
rcx@4035 | 26 |
rcx@4035 | 27 cd $src/unix && |
rcx@4035 | 28 |
pascal@4898 | 29 sed -i 's/AM_PATH_GTK(.*//' configure.ac && |
pascal@4898 | 30 autoheader && |
pascal@4898 | 31 autoconf && |
pascal@4898 | 32 |
rcx@4035 | 33 sed -e 's/-Werror//g' -i configure && |
rcx@4035 | 34 ./configure \ |
rcx@4035 | 35 --prefix=/usr \ |
rcx@4035 | 36 --mandir=/usr/share/man \ |
rcx@4035 | 37 $CONFIGURE_ARGS && |
rcx@4035 | 38 make XFLAGS=-DTELNET_DEFAULT && |
erjo@4784 | 39 make DESTDIR=$src/_pkg install |
erjo@4784 | 40 # && |
erjo@4784 | 41 #cp $src/icons/pterm-48.png $src/_pkg/usr/share/pixmaps/pterm.png && |
erjo@4784 | 42 #cp $src/icons/putty-48.png $src/_pkg/usr/share/pixmaps/putty.png |
rcx@4035 | 43 } |
rcx@4035 | 44 |
rcx@4035 | 45 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@4035 | 46 genpkg_rules() |
rcx@4035 | 47 { |
erjo@4784 | 48 mkdir -p $fs/usr/share $fs/usr/share/pixmaps |
erjo@4784 | 49 |
erjo@4784 | 50 cp -a stuff/applications $src/_pkg/usr/share |
rcx@4035 | 51 cp -a $_pkg/usr/bin $fs/usr |
rcx@4035 | 52 cp -a $_pkg/usr/share/applications $fs/usr/share |
rcx@4035 | 53 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
erjo@4784 | 54 cp -a $src/icons/pterm-48.png $fs/usr/share/pixmaps/pterm.png |
erjo@4784 | 55 cp -a $src/icons/putty-48.png $fs/usr/share/pixmaps/putty.png |
rcx@4035 | 56 } |