summaryrefslogtreecommitdiff
path: root/net-libs/libircclient
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/libircclient')
-rw-r--r--net-libs/libircclient/Manifest1
-rw-r--r--net-libs/libircclient/libircclient-1.10-r1.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/net-libs/libircclient/Manifest b/net-libs/libircclient/Manifest
index b5409412504f..0aefa49633a9 100644
--- a/net-libs/libircclient/Manifest
+++ b/net-libs/libircclient/Manifest
@@ -4,5 +4,6 @@ AUX libircclient-1.8-build.patch 340 BLAKE2B aae0969fce33301022fa11f93a2eb1c81b2
AUX libircclient-1.8-include.patch 289 BLAKE2B 4ba6e8eecdaad20dacd96b8418150e371bdbc65d68b87fa45738b53499633d9fbf23f6745282af2287e0ddd3118b1cceabc0305d5d6c37ed5d04e7a88b1a4b6e SHA512 62e3c1cfe8843eb16efe9e803785ba759100e3cf4c82b7f9f2fe11bd92a5fe9ad85707ef21c6231e3ee23f6e283711f643db76e79699574b3fb01eb893977d02
AUX libircclient-1.8-static.patch 209 BLAKE2B cc25d264d6d1801584ee06ca51921f7ad1dee1499b1e604c8d732779b44f22aa93fc076c97fee45d131d10cb46cf611a4e03220e61462d2b0003653554667217 SHA512 b1161ce28e5a8d668c852ee0ac336c186426a9467156c66ebe4805a722297ec225cc6b859c13003741d05a15ced1ccfaca0a20d98bf0bf933fc84fc1a97d8827
DIST libircclient-1.10.tar.gz 288863 BLAKE2B 28bcfb36553c04be28ef4ffc0cf5fe3af8538704997f628f311719d245a0629ff49bee2c512d29e4d43a24a2803cbafc99512ebda7d5c991d9ecb2f1786a9d24 SHA512 d677ceae0bfabc112671b351fb94d048399a7ad025ff33a2ff1ae6313382fcc78b64d499f2c882eb8b894abdde949562395819e4059fd14640dfae6757b0c259
+EBUILD libircclient-1.10-r1.ebuild 1323 BLAKE2B b2e790122dd296c51145389cb4ccac3bdc1f71ff63eac5e12e500baf99962aa34fc4ddaca880a7440444808cf96caf6aa169394fe3e25dc6409a7dd11442a266 SHA512 8c3bac3929b98e17d38376919367b5a579d9607e6857ebb7589a2f865bb01726b7497ccd999dde1ce99fb8560b64dac2ca904bf51ca90cea45b15066516f235d
EBUILD libircclient-1.10.ebuild 1326 BLAKE2B 3d6df5325dc23734d2b5f938a48344bc7bfaa264dfd8812db8f6d438005ef0f0c5634a7f0b97ba3cca446ad9abe78c9b771ef5351305bc4afe0e979e0583c7ce SHA512 ccbc8a58e01d5abc8ef2eb47d8b401fa69216975db6e4290cf6000ed880d3e13abf62fb1cd3a148d3c96a926d3205b5f11c0170c06e07c74640b744128460b7d
MISC metadata.xml 336 BLAKE2B 094297a8526c391f059c470a5cd9fe786dc057473c99ae1a1d54336fce2639b1f41cbb1293bba24c26d209f0d65f9c308b1f706c41c873164c5503647f7c9527 SHA512 27cc23cbf84e94df9bae7b62dfcf5480d86c5d72fb7636e7dc57ec5b1665183eaca2205d1502d9a091e0c5d477eb710d35c6a1860dda7b19e6575295786a7023
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
+}