1 |
commit: ef6e588bd4162c4019914fc23871b9ee1709a170 |
2 |
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 23 21:38:27 2016 +0000 |
4 |
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 23 21:43:16 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef6e588b |
7 |
|
8 |
x11-libs/xpa: Version bump |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
x11-libs/xpa/Manifest | 1 + |
13 |
x11-libs/xpa/xpa-2.1.17.ebuild | 54 ++++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 55 insertions(+) |
15 |
|
16 |
diff --git a/x11-libs/xpa/Manifest b/x11-libs/xpa/Manifest |
17 |
index 4f98332..a4280b7 100644 |
18 |
--- a/x11-libs/xpa/Manifest |
19 |
+++ b/x11-libs/xpa/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST xpa-2.1.15.tar.gz 861859 SHA256 ac0e041f9115757fbcbfeb377cb5833544815a70f2b46f6edfbf6d1239ae690a SHA512 62b453eb138197b452fca8d1ded1df97be54bcfbd13a0d5fecafc206c1589913c7d09593247077fb07c8b66a87ac0b22b95dfe74c49f2bd0abb942942fa87ce8 WHIRLPOOL 7dea8b931a1734c216ccfb79604ef5d291e1ea9230bbf0859895ac132ed2ceb7bc8ca13957d2022c34b641e740febf344b44e897faabf5aec9faf5761cf5213f |
22 |
+DIST xpa-2.1.17.tar.gz 900465 SHA256 c95ae1d6c5353226a90f29007822e98da42a036af2f7326a21d2f66189c49751 SHA512 c9742b8427a9d8512a429f5a3b2bc6a55803b975c1524ead64906a4387a589f229e8715c46814b7b1bfb30a05f2f5fe59e944e1dabc333fcceca71c569a05a50 WHIRLPOOL 7426629091bc73d82ea87ce3db64b6f18f98f47bf98a45cc89971dbd0a88b44ee9eabe3e34e645e62a046fdb5b84258668f04616c38a34482f061e59b85445fb |
23 |
|
24 |
diff --git a/x11-libs/xpa/xpa-2.1.17.ebuild b/x11-libs/xpa/xpa-2.1.17.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..6c93fa4 |
27 |
--- /dev/null |
28 |
+++ b/x11-libs/xpa/xpa-2.1.17.ebuild |
29 |
@@ -0,0 +1,54 @@ |
30 |
+# Copyright 1999-2016 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=5 |
35 |
+ |
36 |
+inherit eutils autotools |
37 |
+ |
38 |
+DESCRIPTION="Messaging system providing communication between programs" |
39 |
+HOMEPAGE="https://github.com/ericmandel/xpa" |
40 |
+SRC_URI="https://github.com/ericmandel/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="LGPL-2.1" |
43 |
+SLOT="0/1" |
44 |
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" |
45 |
+IUSE="doc static-libs" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ dev-lang/tcl:0= |
49 |
+ x11-libs/libXt:0" |
50 |
+DEPEND="${RDEPEND}" |
51 |
+ |
52 |
+src_prepare() { |
53 |
+ epatch "${FILESDIR}"/${PN}-2.1.8-makefile.patch |
54 |
+ sed -i -e "s:\${LINK}:\${LINK} ${LDFLAGS}:" mklib || die |
55 |
+ eautoconf |
56 |
+} |
57 |
+ |
58 |
+src_configure() { |
59 |
+ econf \ |
60 |
+ --enable-shared \ |
61 |
+ --enable-threaded-xpans \ |
62 |
+ --with-x \ |
63 |
+ --with-tcl \ |
64 |
+ --with-threads |
65 |
+} |
66 |
+ |
67 |
+src_compile() { |
68 |
+ emake shlib tclxpa |
69 |
+} |
70 |
+ |
71 |
+src_install () { |
72 |
+ dodir /usr/$(get_libdir) |
73 |
+ emake INSTALL_ROOT="${D}" install |
74 |
+ insinto /usr/$(get_libdir)/tclxpa |
75 |
+ doins pkgIndex.tcl |
76 |
+ mv "${ED}"/usr/$(get_libdir)/libtclxpa* \ |
77 |
+ "${ED}"/usr/$(get_libdir)/tclxpa/ || die |
78 |
+ dodoc README |
79 |
+ use doc && dodoc doc/*.pdf && dohtml doc/*.html |
80 |
+ # build system so crappy not worth patching to a non respondant upstream |
81 |
+ # and builds static with PIC |
82 |
+ use static-libs || rm -f "${ED}"/usr/$(get_libdir)/*.a |
83 |
+} |