wok-6.x annotate putty/receipt @ rev 4279

libnl: fix build (http://bugs.gentoo.org/show_bug.cgi?id=225393)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Sep 26 06:38:25 2009 +0000 (2009-09-26)
parents 6b78ab374198
children f8052cf84356
rev   line source
rcx@4035 1 # SliTaz package receipt.
rcx@4035 2
rcx@4035 3 PACKAGE="putty"
erjo@4039 4 VERSION="0.60-2009-09-08"
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 \
rcx@4035 11 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender"
erjo@4040 12 BUILD_DEPENDS="slitaz-toolchain gtk+-dev imagemagick python"
rcx@4035 13 TARBALL="$PACKAGE-$VERSION.tar.gz"
rcx@4035 14 WEB_SITE="http://putty.linux-mirror.org/"
rcx@4035 15 #WGET_URL="http://putty.linux-mirror.org/latest/$TARBALL"
rcx@4035 16 WGET_URL="http://tartarus.org/~simon/putty-snapshots/$TARBALL"
rcx@4035 17 # Rules to configure and make the package.
rcx@4035 18 compile_rules()
rcx@4035 19 {
rcx@4035 20 mkdir -p $src/_pkg/usr/share/pixmaps
rcx@4035 21 cp -a stuff/applications $src/_pkg/usr/share
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
rcx@4035 29 sed -e 's/-Werror//g' -i configure &&
rcx@4035 30 ./configure \
rcx@4035 31 --prefix=/usr \
rcx@4035 32 --mandir=/usr/share/man \
rcx@4035 33 $CONFIGURE_ARGS &&
rcx@4035 34 make XFLAGS=-DTELNET_DEFAULT &&
rcx@4035 35 make DESTDIR=$src/_pkg install &&
rcx@4035 36 cp $src/icons/pterm-48.png $src/_pkg/usr/share/pixmaps/pterm.png &&
rcx@4035 37 cp $src/icons/putty-48.png $src/_pkg/usr/share/pixmaps/putty.png
rcx@4035 38 }
rcx@4035 39
rcx@4035 40 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@4035 41 genpkg_rules()
rcx@4035 42 {
rcx@4035 43 mkdir -p $fs/usr/share
rcx@4035 44 cp -a $_pkg/usr/bin $fs/usr
rcx@4035 45 cp -a $_pkg/usr/share/applications $fs/usr/share
rcx@4035 46 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
rcx@4035 47 }