diff options
author | Guilherme Amadio <amadio@gentoo.org> | 2019-06-07 08:40:40 +0200 |
---|---|---|
committer | Guilherme Amadio <amadio@gentoo.org> | 2019-06-07 08:41:13 +0200 |
commit | e087af1417e8bffc61a0224cfa484276fa79922c (patch) | |
tree | bb62c36c8509ab7bcd444285b8d31269e761aab3 /net-libs/davix | |
parent | x11-misc/qtfm: Old (diff) | |
download | gentoo-e087af1417e8bffc61a0224cfa484276fa79922c.tar.gz gentoo-e087af1417e8bffc61a0224cfa484276fa79922c.tar.bz2 gentoo-e087af1417e8bffc61a0224cfa484276fa79922c.zip |
net-libs/davix: version bump to 0.7.3
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Diffstat (limited to 'net-libs/davix')
-rw-r--r-- | net-libs/davix/Manifest | 1 | ||||
-rw-r--r-- | net-libs/davix/davix-0.7.3.ebuild | 78 |
2 files changed, 79 insertions, 0 deletions
diff --git a/net-libs/davix/Manifest b/net-libs/davix/Manifest index 0fd510eea0db..2602c6488414 100644 --- a/net-libs/davix/Manifest +++ b/net-libs/davix/Manifest @@ -1,3 +1,4 @@ DIST davix-0.6.7.tar 3346429 BLAKE2B 7510c628cd1d346ed5f4dca6100207e5e2efa3a98d0caf63dbe3ba39f58a9b11c330c95cd2d40d60d8f2497355d4cb2f2d7537babfef287a5905f32322363d90 SHA512 5cb830e415a4ab87b7b046fbd8ba615379766f4fa4b886a271b0c248c05968b9a3cb144751b44d5fd62f5e07bdb7610c0505e44f2702147f6f006b49a4b3d8ce DIST davix-0.7.1.tar 4336124 BLAKE2B 5db4f8f03fef38feedb0f0a9dfce763ff53ba9b1aa19d09f0af979e111d9f52226222e7b00e48aa3589070e9bf857e000f297d1a162aac83fe877ce3cd2984e1 SHA512 a4408960c4e16011de5e6cea1470d7fa487fd0b9c462082d8fb800bcaa812cab10a92643c9eeb66dda506d177903917176e6310c2a10042a848a52b858f4eb4e DIST davix-0.7.2.tar 4338425 BLAKE2B 9a09d2d702b8d9767ac6b0a5e04170d3f7e930b4c9c0cd8127bee2eae99978f5fdbed7be09875c1bbdcd38c29aede1b8f74a56cc15d31ab5ffa3e1f92fb26990 SHA512 207cf290aa4dedfa8c37cf7e7d8fd2162ecd04421abef55f7ade23193e6ca18942d1fb0d611a63fbeed45d9ba5eab8f9957efcdad7f6296b9ac9a69b07c9c339 +DIST davix-0.7.3.tar 4341865 BLAKE2B 8ba2855f7170ca24f4a15edc32562e47711304f48eaeb1e2870e1325396ae2b664f8af7a482986da6883ab5c92ab6e61034e8840baf3f59c3bd691e7e483fc7e SHA512 b7e7814066ca53c44c2aa0a0d1d6a2d995ea44d3d122da1d19f12849d8c2d4e91eafb40c18d4d18d1736a7c5c5099972519c08a6c7ab5b32300fc8a1fcdc5bfd diff --git a/net-libs/davix/davix-0.7.3.ebuild b/net-libs/davix/davix-0.7.3.ebuild new file mode 100644 index 000000000000..b80ff8a2e7e7 --- /dev/null +++ b/net-libs/davix/davix-0.7.3.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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" + +CDEPEND=" + dev-libs/libxml2:2= + dev-libs/openssl:0= + 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=( + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" + -DDOC_INSTALL_DIR="${EPREFIX}/usr/share/doc/${P}" + -DENABLE_HTML_DOCS=$(usex doc) + -DENABLE_IPV6=$(usex ipv6) + -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 +} |