diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2024-09-03 16:20:54 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2024-10-10 22:24:37 +0200 |
commit | e5ffb446d6b75bdfdb0d0b7a198f483fba7a1c0d (patch) | |
tree | 417375256ad1fbe3b8e3de833740ba40edb555e5 /net-libs/libircclient | |
parent | dev-games/guichan: add missing remote-id (diff) | |
download | gentoo-e5ffb446d6b75bdfdb0d0b7a198f483fba7a1c0d.tar.gz gentoo-e5ffb446d6b75bdfdb0d0b7a198f483fba7a1c0d.tar.bz2 gentoo-e5ffb446d6b75bdfdb0d0b7a198f483fba7a1c0d.zip |
net-libs/libircclient: EAPI8 bump, use https, enable ipv6 unconditional
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/38408
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-libs/libircclient')
-rw-r--r-- | net-libs/libircclient/libircclient-1.10-r1.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/net-libs/libircclient/libircclient-1.10-r1.ebuild b/net-libs/libircclient/libircclient-1.10-r1.ebuild new file mode 100644 index 000000000000..236a13b0757a --- /dev/null +++ b/net-libs/libircclient/libircclient-1.10-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Small but powerful library implementing the client-server IRC protocol" +HOMEPAGE="https://www.ulduzsoft.com/libircclient/" +SRC_URI="https://downloads.sourceforge.net/libircclient/${P}.tar.gz" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="doc ssl static-libs threads" + +DEPEND="ssl? ( + dev-libs/openssl:0= + )" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-1.8-build.patch + "${FILESDIR}"/${PN}-1.10-shared.patch + "${FILESDIR}"/${PN}-1.8-static.patch + "${FILESDIR}"/${PN}-1.8-include.patch + + # upstream patches (can usually be removed with next version bump) + "${FILESDIR}"/${PN}-1.10-openssl.patch +) + +src_prepare() { + default + mv configure.in configure.ac || die + eautoconf +} + +src_configure() { + local myeconfargs=( + $(use_enable threads) + $(use_enable ssl openssl) + $(use_enable ssl threads) + --enable-ipv6 + ) + econf "${myeconfargs[@]}" +} + +src_compile() { + emake -C src $(usex static-libs "shared static" "shared") +} + +src_install() { + emake -C src DESTDIR="${D}" install-shared $(usex static-libs "install-static" "") + insinto /usr/include/libircclient + doins include/*.h + + dodoc Changelog THANKS + doman man/libircclient.1 +} |