mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
net-libs/davix: drop old version
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST davix-0.7.5.tar 4343329 BLAKE2B dfb71e0524e47a2378cd8a49fa4c7d209b8b658e8515f4f0750c9c98cb03073e2ff82a5fbdb2f7fb563f31671789cd7e9cb1656a16dfd0811934730961695db4 SHA512 4be448d6d28f315c0d098d9cf2ddf95bbd818659821935571d83dad1b2724b8f90b87be298ca8a7984cb57a88b18b0253e23f6e8cb192cd1792472993da36bcc
|
||||
DIST davix-0.7.6.tar 4338692 BLAKE2B 72a918f52993ea358f243df671823a4624ac5650753e06c8f70f75a800f10adfe7f6c63d9c8fdcefb94874e3c60c3909e7aa96969af1210347ea941a42f4b9df SHA512 3e379acc763e72e2e1684121e2688da6c617b2c1f52ffd7a2a2559998a64aba957f09f7b138c57f8f4d7a26caff4fef09952cca48585bb4f6aea1f071aa9a7b7
|
||||
|
||||
@@ -1,78 +0,0 @@
|
||||
# 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=
|
||||
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_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
|
||||
}
|
||||
Reference in New Issue
Block a user