diff options
author | Gustavo Zacarias <gustavoz@gentoo.org> | 2007-06-13 15:22:24 +0000 |
---|---|---|
committer | Gustavo Zacarias <gustavoz@gentoo.org> | 2007-06-13 15:22:24 +0000 |
commit | 9429e06ea48d6a70c05e97beee8729a40b6967d4 (patch) | |
tree | 086aa1d1c592edfc9e3ad9052ae6725d4b321029 /net-misc/tn5250 | |
parent | RESTRICT="test" (diff) | |
download | gentoo-2-9429e06ea48d6a70c05e97beee8729a40b6967d4.tar.gz gentoo-2-9429e06ea48d6a70c05e97beee8729a40b6967d4.tar.bz2 gentoo-2-9429e06ea48d6a70c05e97beee8729a40b6967d4.zip |
Version bump wrt #164406
(Portage version: 2.1.2.7)
Diffstat (limited to 'net-misc/tn5250')
-rw-r--r-- | net-misc/tn5250/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/tn5250/files/digest-tn5250-0.17.3 | 3 | ||||
-rw-r--r-- | net-misc/tn5250/metadata.xml | 9 | ||||
-rw-r--r-- | net-misc/tn5250/tn5250-0.17.3.ebuild | 60 |
4 files changed, 75 insertions, 5 deletions
diff --git a/net-misc/tn5250/ChangeLog b/net-misc/tn5250/ChangeLog index c6f4cbfbd81d..af2f2835bd02 100644 --- a/net-misc/tn5250/ChangeLog +++ b/net-misc/tn5250/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/tn5250 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/tn5250/ChangeLog,v 1.12 2007/05/14 19:45:44 bangert Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/tn5250/ChangeLog,v 1.13 2007/06/13 15:22:24 gustavoz Exp $ + +*tn5250-0.17.3 (13 Jun 2007) + + 13 Jun 2007; Gustavo Zacarias <gustavoz@gentoo.org> metadata.xml, + +tn5250-0.17.3.ebuild: + Version bump wrt #164406 14 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml: add <herd>no-herd</herd> diff --git a/net-misc/tn5250/files/digest-tn5250-0.17.3 b/net-misc/tn5250/files/digest-tn5250-0.17.3 new file mode 100644 index 000000000000..4894087e236f --- /dev/null +++ b/net-misc/tn5250/files/digest-tn5250-0.17.3 @@ -0,0 +1,3 @@ +MD5 f8c454334c63ed7b100e0b12160d93ea tn5250-0.17.3.tar.gz 999938 +RMD160 554eac8a5b4ae690caab1ee3c4a9cf7e48a37b85 tn5250-0.17.3.tar.gz 999938 +SHA256 956fbcb1eac6b2b2faa0a51733cdfc370103898eaffab61128608b3916061a36 tn5250-0.17.3.tar.gz 999938 diff --git a/net-misc/tn5250/metadata.xml b/net-misc/tn5250/metadata.xml index 54494c4bb860..03fc7a7dc111 100644 --- a/net-misc/tn5250/metadata.xml +++ b/net-misc/tn5250/metadata.xml @@ -1,8 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>no-herd</herd> -<maintainer> -<email>maintainer-needed@gentoo.org</email> -</maintainer> + <herd>no-herd</herd> + <maintainer> + <email>gustavoz@gentoo.org</email> + <name>Gustavo Zacarias</name> + </maintainer> </pkgmetadata> diff --git a/net-misc/tn5250/tn5250-0.17.3.ebuild b/net-misc/tn5250/tn5250-0.17.3.ebuild new file mode 100644 index 000000000000..5320829485b4 --- /dev/null +++ b/net-misc/tn5250/tn5250-0.17.3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/tn5250/tn5250-0.17.3.ebuild,v 1.1 2007/06/13 15:22:24 gustavoz Exp $ + +inherit eutils + +DESCRIPTION="Telnet client for the IBM AS/400 that emulates 5250 terminals and printers." +HOMEPAGE="http://tn5250.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="X ssl slang" + +RDEPEND="sys-libs/ncurses + ssl? ( dev-libs/openssl ) + slang? ( =sys-libs/slang-1* )" +DEPEND="${RDEPEND} + X? ( || ( x11-libs/libXt virtual/x11 ) )" + +src_unpack() { + unpack ${A} + + # First, for some reason, TRUE and FALSE aren't defined + # for the compile. This causes some problems. ??? + echo >> "${S}/src/tn5250-config.h.in" + echo "/* Define TRUE and FALSE */" >> "${S}/src/tn5250-config.h.in" + echo "#define FALSE 0" >> "${S}/src/tn5250-config.h.in" + echo "#define TRUE !FALSE" >> "${S}/src/tn5250-config.h.in" + + # Next, the Makefile for the terminfo settings tries to remove + # some files it doesn't have access to. We can just remove those + # lines. + cd "${S}/linux" + sed -i \ + -e "/rm -f \/usr\/.*\/terminfo.*5250/d" Makefile.in \ + || die "sed Makefile.in failed" + cd "${S}/src" +} + +src_compile() { + econf \ + $(use_with X x) \ + $(use_with ssl) \ + $(use_with slang) || die + emake || die "emake failed" +} + +src_install() { + # The TERMINFO variable needs to be defined for the install + # to work, because the install calls "tic." man tic for + # details. + dodir /usr/share/terminfo + make DESTDIR="${D}" \ + TERMINFO="${D}/usr/share/terminfo" install \ + || die "make install failed" + dodoc AUTHORS BUGS NEWS README README.ssl TODO + dohtml -r doc/* +} |