From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-irc/scrollz/scrollz-2.2.ebuild | 65 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 net-irc/scrollz/scrollz-2.2.ebuild (limited to 'net-irc/scrollz/scrollz-2.2.ebuild') diff --git a/net-irc/scrollz/scrollz-2.2.ebuild b/net-irc/scrollz/scrollz-2.2.ebuild new file mode 100644 index 000000000000..49f0c795b243 --- /dev/null +++ b/net-irc/scrollz/scrollz-2.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils toolchain-funcs + +MY_P=ScrollZ-${PV} + +DESCRIPTION="Advanced IRC client based on ircII" +HOMEPAGE="http://scrollz.com/" +SRC_URI="http://www.scrollz.com/download/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="gmp gnutls ipv6 socks5 ssl" + +REQUIRED_USE="gnutls? ( ssl )" + +RDEPEND="sys-libs/ncurses + gmp? ( dev-libs/gmp ) + ssl? ( + gnutls? ( net-libs/gnutls ) + !gnutls? ( dev-libs/openssl ) + )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${P}-cppflags.patch + epatch "${FILESDIR}"/${P}-make-install.patch +} + +src_configure() { + local _myssl + + if use ssl; then + if use gnutls; then + _myssl="--with-ssl" + else + _myssl="--with-openssl" + fi + fi + + tc-export CC #397441, ancient autoconf + econf \ + --with-default-server=irc.gentoo.org \ + $(use_enable socks5) \ + $(use_enable ipv6) \ + --enable-regexp \ + $(use_enable gmp fish) \ + ${_myssl} +} + +src_install() { + emake \ + DESTDIR="${D}" \ + mandir="${EPREFIX}/usr/share/man/man1" \ + install + + dodoc ChangeLog* NEWS README* todo +} -- cgit v1.2.3