diff options
author | Guilherme Amadio <amadio@gentoo.org> | 2020-06-07 14:15:47 +0200 |
---|---|---|
committer | Guilherme Amadio <amadio@gentoo.org> | 2020-06-07 14:16:09 +0200 |
commit | 92334172cbbf1d15d0ee90c20f4af7f5c26b0062 (patch) | |
tree | ef68c92adc8731dc70d0c2592be7a8aec186dcd8 /net-libs | |
parent | app-emulation/libspectrum: do not install static libs (diff) | |
download | gentoo-92334172cbbf1d15d0ee90c20f4af7f5c26b0062.tar.gz gentoo-92334172cbbf1d15d0ee90c20f4af7f5c26b0062.tar.bz2 gentoo-92334172cbbf1d15d0ee90c20f4af7f5c26b0062.zip |
net-libs/davix: version bump to 0.7.6
This ebuild enables libdavix_copy by default.
Closes: https://bugs.gentoo.org/689556
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/davix/Manifest | 1 | ||||
-rw-r--r-- | net-libs/davix/davix-0.7.6.ebuild | 81 |
2 files changed, 82 insertions, 0 deletions
diff --git a/net-libs/davix/Manifest b/net-libs/davix/Manifest index 90f1de895345..c443165d4237 100644 --- a/net-libs/davix/Manifest +++ b/net-libs/davix/Manifest @@ -2,3 +2,4 @@ DIST davix-0.6.7.tar 3346429 BLAKE2B 7510c628cd1d346ed5f4dca6100207e5e2efa3a98d0 DIST davix-0.7.3.tar 4341865 BLAKE2B 8ba2855f7170ca24f4a15edc32562e47711304f48eaeb1e2870e1325396ae2b664f8af7a482986da6883ab5c92ab6e61034e8840baf3f59c3bd691e7e483fc7e SHA512 b7e7814066ca53c44c2aa0a0d1d6a2d995ea44d3d122da1d19f12849d8c2d4e91eafb40c18d4d18d1736a7c5c5099972519c08a6c7ab5b32300fc8a1fcdc5bfd DIST davix-0.7.4.tar 4343614 BLAKE2B 0fd618a4575cfdcbb0142b26ed8bd5ea0b8d880706ec6ebcc8e9a8755a8f392c715e2bc3cb25dd316fa90f06e7223ecd3e8272a0e5867eb2f5d74eec3053ddf2 SHA512 835d49f1729be95b88c1c422723a2ac6fa9fa0c4a85089e67d68a365c482bf648471fea000b90e7797add0809a9262b5c7275a965fde437bb8206154266fd970 DIST davix-0.7.5.tar 4343329 BLAKE2B dfb71e0524e47a2378cd8a49fa4c7d209b8b658e8515f4f0750c9c98cb03073e2ff82a5fbdb2f7fb563f31671789cd7e9cb1656a16dfd0811934730961695db4 SHA512 4be448d6d28f315c0d098d9cf2ddf95bbd818659821935571d83dad1b2724b8f90b87be298ca8a7984cb57a88b18b0253e23f6e8cb192cd1792472993da36bcc +DIST davix-0.7.6.tar 4338692 BLAKE2B 72a918f52993ea358f243df671823a4624ac5650753e06c8f70f75a800f10adfe7f6c63d9c8fdcefb94874e3c60c3909e7aa96969af1210347ea941a42f4b9df SHA512 3e379acc763e72e2e1684121e2688da6c617b2c1f52ffd7a2a2559998a64aba957f09f7b138c57f8f4d7a26caff4fef09952cca48585bb4f6aea1f071aa9a7b7 diff --git a/net-libs/davix/davix-0.7.6.ebuild b/net-libs/davix/davix-0.7.6.ebuild new file mode 100644 index 000000000000..d667decd21ad --- /dev/null +++ b/net-libs/davix/davix-0.7.6.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils + +DESCRIPTION="High-performance file management over WebDAV/HTTP" +HOMEPAGE="https://dmc.web.cern.ch/projects/davix" +SRC_URI="http://grid-deployment.web.cern.ch/grid-deployment/dms/lcgutil/tar/${PN}/${PV}/${P}.tar.gz -> ${P}.tar" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc ipv6 kernel_linux test tools" +RESTRICT="!test? ( test )" + +CDEPEND=" + dev-libs/libxml2:2= + dev-libs/openssl:0= + net-libs/gsoap[ssl,-gnutls,-libressl] + kernel_linux? ( sys-apps/util-linux ) +" + +DEPEND="${CDEPEND} + doc? ( + app-doc/doxygen[dot] + dev-python/sphinx + ) + virtual/pkgconfig +" + +RDEPEND="${CDEPEND}" + +REQUIRED_USE="test? ( tools )" + +src_prepare() { + cmake-utils_src_prepare + + for x in doc test; do + if ! use $x; then + sed -i -e "/add_subdirectory ($x)/d" CMakeLists.txt + fi + done +} + +src_configure() { + local mycmakeargs=( + -DDOC_INSTALL_DIR="${EPREFIX}/usr/share/doc/${P}" + -DENABLE_HTML_DOCS=$(usex doc) + -DENABLE_IPV6=$(usex ipv6) + -DENABLE_TCP_NODELAY=TRUE + -DENABLE_THIRD_PARTY_COPY=TRUE + -DENABLE_TOOLS=$(usex tools) + -DHTML_INSTALL_DIR="${EPREFIX}/usr/share/doc/${P}/html" + -DSOUND_INSTALL_DIR="${EPREFIX}/usr/share/${PN}/sounds" + -DSTATIC_LIBRARY=OFF + -DSYSCONF_INSTALL_DIR="${EPREFIX}/etc" + -DBUILD_TESTING=$(usex test) + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + if use doc; then + cmake-utils_src_compile doc + fi +} + +src_install() { + cmake-utils_src_install + + if ! use tools; then + rm -rf "${ED}/usr/share/man/man1" + fi + + if use test; then + rm -rf "${ED}/usr/bin/davix-unit-tests" + fi +} |