diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-10-24 02:09:15 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-10-24 02:09:28 -0400 |
commit | 3cbd04d3cde6287b18758fb9eebc589e53c94bed (patch) | |
tree | f057604510ed942e2532fd6b10c4fbe7e9cda6fe /net-misc/suite3270 | |
parent | media-video/flumotion: Fix dependency on python (diff) | |
download | gentoo-3cbd04d3cde6287b18758fb9eebc589e53c94bed.tar.gz gentoo-3cbd04d3cde6287b18758fb9eebc589e53c94bed.tar.bz2 gentoo-3cbd04d3cde6287b18758fb9eebc589e53c94bed.zip |
net-misc/suite3270: version bump to 3.4_p9
Diffstat (limited to 'net-misc/suite3270')
-rw-r--r-- | net-misc/suite3270/Manifest | 1 | ||||
-rw-r--r-- | net-misc/suite3270/suite3270-3.4_p9.ebuild | 102 |
2 files changed, 103 insertions, 0 deletions
diff --git a/net-misc/suite3270/Manifest b/net-misc/suite3270/Manifest index db4838636b8e..aec8996a9ce9 100644 --- a/net-misc/suite3270/Manifest +++ b/net-misc/suite3270/Manifest @@ -7,3 +7,4 @@ DIST suite3270-3.4ga5-src.tgz 3398700 SHA256 01ef94341326e797c090be813bf096b240a DIST suite3270-3.4ga6-src.tgz 3398002 SHA256 7c662d30f2fc1616eeb546410e49e1312f9fa4d8316a017317abe146f893a1fe SHA512 c1d06529b98b6c18b74f832f14fc1e4d0adf1becdeb5f117a00b9c4df6b35337d0cdcb20499004cd0c5c63568a24b15f1f8a6038a7ede8e4fa6c5484c51aa738 WHIRLPOOL 2d9f8d0541921d8352ec210e5cb4f3b8c0fe1522cf69e5402f2322109ae4983bfe90cd249d3c1c2c4972f77584d9106166468a43032cb93e6ae6ffcacba6cfb6 DIST suite3270-3.4ga7-src.tgz 3398617 SHA256 f21af93a611d80e2e50338e7831d368fd821ac67a6a292acb48366bbd98155d2 SHA512 881074d095f3606b25dcc331652967596877bd28152729775482d85b03a9a0b8ad7f30881264164c06b415496c62b52ff54cf64a52807b343197dc60d290fd87 WHIRLPOOL 9d77680d850e04cffe9a540816010edf9fb0fa9ea1248ea842dddc6f0df2eb1f9acf9ae99381a268c0a2926a231d0aa96412e56a3fdf99e78ecd823799b48015 DIST suite3270-3.4ga8-src.tgz 3399547 SHA256 06be4d79ffc24f4465b167b08c6ec48b595f689f3c5177ce5902fb31560b5dfd SHA512 42e6b527891623ca731f24ad6329e82767f06fd2f8906ae236ed1ca8a9e65bd612f3776c5d619a951fbd8ceec650b761b2ed5332283c1fe27cd08bfd9054c6b7 WHIRLPOOL 0d99a0ca05778155325bec9ed7e839f76f382265b0efe7b96405638b021366901bc8ff21b5a0dd302147dc654b712308e76a13b0fa6c42c0f7fdcab37ec105cd +DIST suite3270-3.4ga9-src.tgz 3400841 SHA256 49dfd73f930196c05bbc80709c2ac89b5c4f43745d6ce7a271c78a4624d93c1e SHA512 02c834d8a23bf3cde33dec017d5d8dcc6473ca43bb066d3d0315898de9a2685ad75986ec14e2c6234269b310121bb5f8c4a04df3694e02fcc6c0947cfc661f69 WHIRLPOOL bb3974b7b690fe6ca41830dc1cb89f2d8e08be7b85423d771af8b97ef49191ae96ce84d7c7de2f03c058d2aa9738ab8949ae99c7de32f9605b3064daba9ebe17 diff --git a/net-misc/suite3270/suite3270-3.4_p9.ebuild b/net-misc/suite3270/suite3270-3.4_p9.ebuild new file mode 100644 index 000000000000..ddb4221aaf67 --- /dev/null +++ b/net-misc/suite3270/suite3270-3.4_p9.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +MY_PV=${PV/_p/ga} +MY_P=${PN}-${MY_PV} +SUB_PV=${PV:0:3} + +S=${WORKDIR}/${PN}-${SUB_PV} + +# only the x3270 package installs fonts +FONT_PN="x3270" +FONT_S=${WORKDIR}/${FONT_PN} + +inherit eutils font + +DESCRIPTION="Complete 3270 access package" +HOMEPAGE="http://x3270.bgp.nu/" +SRC_URI="mirror://sourceforge/x3270/${MY_P}-src.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86" +IUSE="cjk doc ncurses ssl tcl X" + +RDEPEND="ssl? ( dev-libs/openssl:0= ) + X? ( + x11-libs/libX11 + x11-libs/libXaw + x11-libs/libXmu + x11-libs/libXt + ) + ncurses? ( + sys-libs/ncurses:= + sys-libs/readline:0= + ) + tcl? ( dev-lang/tcl:0 )" +DEPEND="${RDEPEND} + X? ( + x11-misc/xbitmaps + x11-proto/xproto + app-text/rman + x11-apps/mkfontdir + x11-apps/bdftopcf + )" + +suite3270_makelist() { + echo pr3287 s3270 \ + $(usex ncurses c3270 '') \ + $(usex tcl tcl3270 '') \ + $(usex X x3270 '') +} + +src_prepare() { + # Some subdirs (like c3270/x3270/s3270) install the same set of data files + # (they have the same contents). Wrap that in a retry to avoid errors. + cat <<-EOF > _install + #!/bin/sh + for n in 1 2 3 4 5; do + install "\$@" && exit + echo "retrying ..." + done + exit 1 + EOF + chmod a+rx _install + # Can't use the $INSTALL var as top level configure also uses it. + # https://sourceforge.net/p/x3270/bugs/15/ + export ac_cv_path_install="${S}/_install" +} + +src_configure() { + echo "${INSTALL}" + econf \ + --cache-file="${S}"/config.cache \ + --enable-s3270 \ + --enable-pr3287 \ + $(use_enable ncurses c3270) \ + $(use_enable tcl tcl3270) \ + $(use_enable X x3270) \ + $(use_with X x) \ + $(use_with X fontdir "${FONTDIR}") +} + +src_install() { + use X && dodir "${FONTDIR}" + emake DESTDIR="${D}" install{,.man} + + local p + for p in $(suite3270_makelist) ; do + cd "${S}/${p}" + docinto ${p} + dodoc README* + use doc && dohtml html/* + done + + use X && font_src_install +} + +pkg_postinst() { use X && font_pkg_postinst ; } +pkg_postrm() { use X && font_pkg_postrm ; } |