diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2021-07-25 23:42:47 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2021-07-25 23:45:46 +0200 |
commit | 9d8774200b276ca027054c870cdbe931b95bfa51 (patch) | |
tree | d8597085f5a887fea2420c22dfca88a076ccb685 /dev-libs/yaz | |
parent | sys-libs/libxcrypt: remove unused patches (diff) | |
download | gentoo-9d8774200b276ca027054c870cdbe931b95bfa51.tar.gz gentoo-9d8774200b276ca027054c870cdbe931b95bfa51.tar.bz2 gentoo-9d8774200b276ca027054c870cdbe931b95bfa51.zip |
dev-libs/yaz: version bump 5.31.0
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'dev-libs/yaz')
-rw-r--r-- | dev-libs/yaz/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/yaz/yaz-5.31.0.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-libs/yaz/Manifest b/dev-libs/yaz/Manifest index 27bc139473bc..69684de16847 100644 --- a/dev-libs/yaz/Manifest +++ b/dev-libs/yaz/Manifest @@ -1 +1,2 @@ DIST yaz-3.0.53.tar.gz 2164681 BLAKE2B e42a97d63e031f14234258c7c44735a615ebc83774c1532d7e1b50f1f231dc933168e41a1b35a139ec193e694f6253336a666daad627a4aae9a0c7ffe34ca360 SHA512 537d54757e401c1b29ad2120209b2cd038f26ff7f43ffc3c1e22808e12a1580aedee3880478e951fd4b3057ca9af4a34afa2a64c0b8ffcbec24f76deb83ddc89 +DIST yaz-5.31.0.tar.gz 2599598 BLAKE2B d56b3ccd3981d406bc09aeb7c9619e23f6c322cd80bf01db3a0621a40922dbbf32be34e69990eea0f8abbad84ed66d086d883db22693f3aab596c17001b4355b SHA512 93fe2320e474e3874704b9a899aed789e6128b5c626bb0c49bf650fd9ce0c107af4da6a13e5d1a56c98d018bfbb6cb918b53b6ce93e42bfeb8da0dfacbdb6667 diff --git a/dev-libs/yaz/yaz-5.31.0.ebuild b/dev-libs/yaz/yaz-5.31.0.ebuild new file mode 100644 index 000000000000..9d982537fb8a --- /dev/null +++ b/dev-libs/yaz/yaz-5.31.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2021 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="http://www.indexdata.dk/yaz" +SRC_URI="http://ftp.indexdata.dk/pub/${PN}/${P}.tar.gz" + +LICENSE="BSD GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +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 + sys-devel/bison + >=sys-devel/libtool-2 + virtual/pkgconfig +" + +src_prepare() { + default + AT_M4DIR="m4" eautoreconf +} + +src_configure() { + econf \ + --disable-static \ + --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 +} |