You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.2 KiB
65 lines
1.2 KiB
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
5 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
4 years ago
|
|
||
5 years ago
|
inherit toolchain-funcs
|
||
|
|
||
|
MY_P="ScrollZ-${PV}"
|
||
|
|
||
|
DESCRIPTION="Advanced IRC client based on ircII"
|
||
4 years ago
|
HOMEPAGE="https://www.scrollz.info/"
|
||
|
SRC_URI="https://www.scrollz.info/download/${MY_P}.tar.gz"
|
||
3 years ago
|
S="${WORKDIR}/ScrollZ-${MY_P}"
|
||
5 years ago
|
|
||
|
LICENSE="BSD"
|
||
|
SLOT="0"
|
||
5 years ago
|
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||
4 years ago
|
IUSE="gmp gnutls ipv6 ssl"
|
||
5 years ago
|
REQUIRED_USE="gnutls? ( ssl )"
|
||
|
|
||
4 years ago
|
BDEPEND="virtual/pkgconfig"
|
||
|
DEPEND="
|
||
5 years ago
|
sys-libs/ncurses:0=
|
||
3 years ago
|
virtual/libcrypt:=
|
||
5 years ago
|
gmp? ( dev-libs/gmp:0= )
|
||
|
ssl? (
|
||
|
gnutls? ( net-libs/gnutls:0= )
|
||
|
!gnutls? ( dev-libs/openssl:0= )
|
||
4 years ago
|
)
|
||
5 years ago
|
"
|
||
4 years ago
|
RDEPEND="${DEPEND}"
|
||
5 years ago
|
|
||
4 years ago
|
PATCHES=(
|
||
|
"${FILESDIR}/${PN}-2.3-fcommon.patch"
|
||
|
)
|
||
|
|
||
5 years ago
|
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 ipv6) \
|
||
|
--enable-regexp \
|
||
|
$(use_enable gmp fish) \
|
||
|
${_myssl}
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
emake \
|
||
4 years ago
|
DESTDIR="${ED}" \
|
||
5 years ago
|
mandir="${EPREFIX}/usr/share/man/man1" \
|
||
|
install
|
||
|
|
||
|
dodoc ChangeLog* NEWS README* todo
|
||
|
}
|