commit:     34a47642ae59b678cd81e85455d48500ee35b280
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  3 04:45:41 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec  3 06:06:06 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34a47642

net-im/centerim: EAPI 8, workaround bashisms in configure

Upstream seems dead so not worrying about patching configure.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-im/centerim/centerim-5.0.1-r2.ebuild | 39 ++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/net-im/centerim/centerim-5.0.1-r2.ebuild 
b/net-im/centerim/centerim-5.0.1-r2.ebuild
new file mode 100644
index 000000000000..422b37bee710
--- /dev/null
+++ b/net-im/centerim/centerim-5.0.1-r2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_P="${PN}5-${PV/_}"
+
+DESCRIPTION="Ncurses ICQ/Yahoo!/AIM/IRC/MSN/Jabber/GaduGadu/RSS/LiveJournal 
client"
+HOMEPAGE="http://www.centerim.org/";
+SRC_URI="http://www.centerim.org/download/cim5/${MY_P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug nls"
+
+DEPEND=">=sys-libs/ncurses-5.2:=
+       >=net-im/pidgin-2.7.0
+       >=dev-libs/glib-2.16.0
+       >=dev-libs/libsigc++-2.2.0:2"
+RDEPEND="${DEPEND}
+       nls? ( sys-devel/gettext )"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}"/${MY_P}
+
+src_configure() {
+       CONFIG_SHELL="${BROOT}"/bin/bash econf \
+               $(use_enable debug) \
+               $(use_enable nls)
+}
+
+src_install() {
+       emake DESTDIR="${D}" install
+
+       rm -f "${ED}"/usr/lib*/libcppconsui.{a,la}
+
+       dodoc AUTHORS HACKING NEWS README TODO
+}

Reply via email to