summaryrefslogtreecommitdiff
path: root/dev-libs/yaz
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-01-02 06:31:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-01-02 06:31:11 +0000
commitff733bfb4d0bd82175e03255004faef8721b53ea (patch)
treec1061dbb981bc9e61d4f31b6610569711c7b482f /dev-libs/yaz
parentc4d4d544a37efc45bd5482e62e1fcdbe7d5993d3 (diff)
gentoo auto-resync : 02:01:2025 - 06:31:11
Diffstat (limited to 'dev-libs/yaz')
-rw-r--r--dev-libs/yaz/Manifest2
-rw-r--r--dev-libs/yaz/yaz-5.34.2.ebuild71
2 files changed, 73 insertions, 0 deletions
diff --git a/dev-libs/yaz/Manifest b/dev-libs/yaz/Manifest
index 238b6882d27a..1ac31a4236e2 100644
--- a/dev-libs/yaz/Manifest
+++ b/dev-libs/yaz/Manifest
@@ -1,5 +1,7 @@
AUX yaz-5.34.0-fix-atoi-header.patch 1288 BLAKE2B 2ca0a3045ea5f15ecb90bdf277c02732f7d40ebc109a5af8dcd801b2c7419cf463c78cdb5d1788fd320bed1cb2e773f48f9cf9ee5fde50b004483704866ce898 SHA512 948a0d715422edb35bd9a6dd9c953769362c83b9f251bb615f8423fd65142ebe4cffef21b13d8f4b815b57d6d4534116a40a4941f1c446aee0af23beadba1ed6
AUX yaz-5.34.0-fix-libxml2-2.12.patch 2284 BLAKE2B 6d0b9ed696570ce3cf4d2cdf032646ba5e2be3f74ef8659507831e8a787f62f0a613971a2c7a0827df78832f90f3b66e52a7a6db254d6269b3df3ea3ac804963 SHA512 4301be54f021e056786a7fa01db02b3cc0c902d0411bdb02e3c79b2ca2c2c0fa1c2862259c7eae886c0803ad61b439539363efc2a701bc7a99d2050ff9b0621e
DIST yaz-5.34.0.tar.gz 2656382 BLAKE2B 7a16974dc815c1121aaea4179843a6982600a0491c8c95a03f28cf0c68725b986ebc39049e2159cd0d105b23811d35ae3d3538a83e945b64951cc9215efe7f3d SHA512 0c835b98b4640e077459c9ead8043cea941a75f39dace9501efbb56c38837b1525349b8668c135ac0753ba7a4803e38d9c90d7bf3f6f2951c0e7e863b4c51f65
+DIST yaz-5.34.2.tar.gz 2601365 BLAKE2B 525197c4c10e3a41fb0b050a78f00a8122de844a5c7e53d115a079c0ec16144312e7861b048c31cecf00cac900d8fc7dffd98e2ac18c6b046ac9ae521c7d60aa SHA512 8fd22b97cf46c7db8083198ad67745f4b99b303253b669e28f8c509fe3fee223de64d79a7b0a5d9318637b65d056129ca220e3ecbfc7ad392ef634c87543a16b
EBUILD yaz-5.34.0.ebuild 1742 BLAKE2B 57539468cf3e27ed0ba9627446e388cff8531135fc19400d5273e8d3a3b6f73dff74b03d230dcfaabe9a0c4c92f2bfa1fe76d47f3f4c655321ea20252d93a8be SHA512 26852b8255ae0b268f99ccf532a899124352fbe10f09d775cc7b653c69bc3cdd713cd01de4851479514a75755b0450724438d18abbcbadbfa3bc6e61784caf0a
+EBUILD yaz-5.34.2.ebuild 1636 BLAKE2B 912c3030d00db4055bdeadf1b035907f56da8c422876c7389e15298df26d351586f83f1d3a7fe47b22a127cf1908ada613f9c5d37fe016dad504141aeb1c2dbd SHA512 1af47545bd9f7ddcf35cba85c620878c4ccab40cc15c45edefc0e0d5858d971cc22b9072239f07fb22db0a6a57df93b2915b01cd11a96d0512ce0d8d0a53cc07
MISC metadata.xml 347 BLAKE2B 19555e3c2c7609fe2af5c064fbfe51a27dd44a512a33b53d8968e1a5824da8cb39df6b0507a6cef8364275b7f78abfef25f929139a7662efc841364917c81dc1 SHA512 7239ce6a2a684a53a4e1769e08bc86650798c772e2b95da476e96f189646a5fd8bf4d46d655eb9c3796a7784efd20ed64d4ef3daf287772518ba8f91a4c6719b
diff --git a/dev-libs/yaz/yaz-5.34.2.ebuild b/dev-libs/yaz/yaz-5.34.2.ebuild
new file mode 100644
index 000000000000..bd0af16636d5
--- /dev/null
+++ b/dev-libs/yaz/yaz-5.34.2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="C/C++ toolkit for Z39.50v3 clients and servers"
+HOMEPAGE="https://www.indexdata.com/resources/software/yaz/"
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/indexdata/yaz.git"
+else
+ SRC_URI="https://ftp.indexdata.com/pub/${PN}/${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~s390 ~sparc ~x86"
+fi
+
+LICENSE="BSD GPL-2"
+SLOT="0/5"
+IUSE="gnutls tcpd ziffy"
+
+RDEPEND="
+ dev-libs/icu:=
+ dev-libs/libxml2
+ dev-libs/libxslt
+ sys-libs/readline:=
+ sys-libs/ncurses:=
+ virtual/libintl
+ !gnutls? ( dev-libs/openssl:0= )
+ gnutls? ( net-libs/gnutls:= )
+ tcpd? ( sys-apps/tcp-wrappers )
+ ziffy? ( net-libs/libpcap )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-lang/tcl:0
+ app-alternatives/yacc
+ >=dev-build/libtool-2
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+
+ # Hardcoded assumption of libraries residing in lib/, bug #730016
+ sed -i -e "s|/lib\"|/$(get_libdir)\"|" configure.ac || die
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --enable-shared \
+ $(use_with gnutls) \
+ $(use_enable tcpd tcpd /usr)
+}
+
+src_install() {
+ local docdir="/usr/share/doc/${PF}"
+ emake DESTDIR="${D}" docdir="${EPREFIX}/${docdir}" install
+
+ find "${D}" -name '*.la' -delete || die
+
+ dodir "${docdir}"/html
+ mv -f "${ED}"/${docdir}/*.{html,png} "${ED}"/${docdir}/html/ || die "Failed to move HTML docs"
+ mv -f "${ED}"/usr/share/doc/${PN}/common "${ED}"/${docdir}/html/ || die "Failed to move HTML docs"
+ rm -rf "${ED}"/usr/share/doc/${PN} || die
+
+ dodoc ChangeLog NEWS
+}