jer         14/10/13 18:10:43

  Modified:             ChangeLog
  Added:                putty-9999.ebuild
  Log:
  Add live ebuild.
  
  (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with 
key A792A613)

Revision  Changes    Path
1.96                 net-misc/putty/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/putty/ChangeLog?rev=1.96&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/putty/ChangeLog?rev=1.96&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/putty/ChangeLog?r1=1.95&r2=1.96

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/putty/ChangeLog,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -r1.95 -r1.96
--- ChangeLog   20 Aug 2014 23:06:29 -0000      1.95
+++ ChangeLog   13 Oct 2014 18:10:43 -0000      1.96
@@ -1,6 +1,11 @@
 # ChangeLog for net-misc/putty
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/putty/ChangeLog,v 1.95 2014/08/20 
23:06:29 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/putty/ChangeLog,v 1.96 2014/10/13 
18:10:43 jer Exp $
+
+*putty-9999 (13 Oct 2014)
+
+  13 Oct 2014; Jeroen Roovers <j...@gentoo.org> +putty-9999.ebuild:
+  Add live ebuild.
 
 *putty-0.63_p20140820 (20 Aug 2014)
 



1.1                  net-misc/putty/putty-9999.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/putty/putty-9999.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/putty/putty-9999.ebuild?rev=1.1&content-type=text/plain

Index: putty-9999.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/putty/putty-9999.ebuild,v 1.1 
2014/10/13 18:10:43 jer Exp $

EAPI=5
inherit autotools eutils gnome2-utils subversion toolchain-funcs

DESCRIPTION="A Free Telnet/SSH Client"
HOMEPAGE="http://www.chiark.greenend.org.uk/~sgtatham/putty/";
ESVN_REPO_URI="svn://svn.tartarus.org/sgt/putty"
SRC_URI="
        http://dev.gentoo.org/~jer/${PN}-icons.tar.bz2
"
LICENSE="MIT"

SLOT="0"
KEYWORDS=""
IUSE="doc +gtk ipv6 kerberos"

RDEPEND="
        !net-misc/pssh
        kerberos? ( virtual/krb5 )
        gtk? ( x11-libs/gdk-pixbuf
                x11-libs/gtk+:2
                x11-libs/libX11
                x11-libs/pango
                dev-libs/glib )
"
DEPEND="
        ${RDEPEND}
        app-doc/halibut
        dev-lang/perl
        virtual/pkgconfig
"

src_unpack() {
        subversion_src_unpack
        default
}

src_prepare() {
        sed -i \
                -e '/AM_PATH_GTK(/d' \
                -e 's|-Werror||g' \
                configure.ac || die

        ./mkfiles.pl || die

        eautoreconf
}

src_configure() {
        cd "${S}"/unix || die
        econf \
                $(use_with kerberos gssapi) \
                $(use_with gtk)
}

src_compile() {
        emake -C "${S}"/doc
        emake -C "${S}"/unix AR=$(tc-getAR) $(usex ipv6 '' COMPAT=-DNO_IPV6)
}

src_install() {
        dodoc doc/puttydoc.txt

        if use doc; then
                dohtml doc/*.html
        fi

        cd "${S}"/unix || die
        default

        if use gtk ; then
                for i in 16 22 24 32 48 64 128 256; do
                        newicon -s ${i} "${WORKDIR}"/${PN}-icons/${PN}-${i}.png 
${PN}.png
                done

                # install desktop file provided by Gustav Schaffter in #49577
                make_desktop_entry ${PN} PuTTY ${PN} Network
        fi
}

pkg_preinst() {
        use gtk && gnome2_icon_savelist
}

pkg_postinst() {
        use gtk && gnome2_icon_cache_update
}

pkg_postrm() {
        use gtk && gnome2_icon_cache_update
}




Reply via email to