mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-util/cppunit: Drop old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST cppunit-1.13.1.tar.gz 841334 BLAKE2B 4c27d666900e46fb2146f939ce7f5f2b036c971616c0642c3f601f349b14d7bb8d3a389fc93f31fe133b4df37551d0381e76bbcfb1785a4becf30db57726ca56 SHA512 3b588dd0ed35eca1dec1a7dcf21da40307b1da26d8e29a26a2fcb16cd4ba7e4dfdf58b6c3d537af2ad127c418b11ba62a1168312abb200d5aab8cb8475766a9d
|
||||
DIST cppunit-1.13.2.tar.gz 953596 BLAKE2B 205a631dde2cdd2b543be3e39c66331499f7f76e734bf227e94958dc1a4ce57e3ec11a3d555ddf3b8bb8a55b34478b74ac766147630478a53af0c96b606b43e6 SHA512 8f4be569f321d577cec31931f49f4df143bc94e283605509b6ea50c60690aa91a2aed940e7eebd4b2413a4218f9a6c3978d312d8e587eab040283c6563846ecd
|
||||
DIST cppunit-1.14.0.tar.gz 959716 BLAKE2B 581e3b73d6d152c249005ddf267100443e6c9cba12c52c43e9d6f81096b9cd13c3686fa2f73ebaf28c31193e41dbfd5d919dfb0143b190881345da65a5b7f86d SHA512 4ea1da423c6f7ab37e4144689f593396829ce74d43872d6b10709c1ad5fbda4ee945842f7e9803592520ef81ac713e95a3fe130295bf048cd32a605d1959882e
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
EGIT_REPO_URI="https://anongit.freedesktop.org/git/libreoffice/cppunit.git"
|
||||
[[ ${PV} = 9999 ]] && inherit git-2 autotools
|
||||
inherit eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="C++ port of the famous JUnit framework for unit testing"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/cppunit"
|
||||
[[ ${PV} = 9999 ]] || SRC_URI="https://dev-www.libreoffice.org/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
|
||||
[[ ${PV} = 9999 ]] || \
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="doc examples static-libs"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
doc? (
|
||||
app-doc/doxygen[dot]
|
||||
media-gfx/graphviz
|
||||
)"
|
||||
|
||||
DOCS=( AUTHORS BUGS NEWS README THANKS TODO doc/FAQ )
|
||||
[[ ${PV} = 9999 ]] || DOCS+=( ChangeLog )
|
||||
|
||||
src_prepare() {
|
||||
[[ ${PV} = 9999 ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Anything else than -O0 breaks on alpha
|
||||
use alpha && replace-flags "-O?" -O0
|
||||
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable doc doxygen) \
|
||||
$(use_enable doc dot) \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
--htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
|
||||
--disable-silent-rules
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
prune_libtool_files --all
|
||||
|
||||
if use examples ; then
|
||||
find examples -iname "*.o" -delete
|
||||
insinto /usr/share/${PN}
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
||||
@@ -1,66 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
EGIT_REPO_URI="https://anongit.freedesktop.org/git/libreoffice/cppunit.git"
|
||||
[[ ${PV} = 9999 ]] && inherit git-r3 autotools
|
||||
inherit eutils flag-o-matic multilib-minimal
|
||||
|
||||
DESCRIPTION="C++ port of the famous JUnit framework for unit testing"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/cppunit"
|
||||
[[ ${PV} = 9999 ]] || SRC_URI="https://dev-www.libreoffice.org/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
|
||||
[[ ${PV} = 9999 ]] || \
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="doc examples static-libs"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
doc? (
|
||||
app-doc/doxygen[dot]
|
||||
media-gfx/graphviz
|
||||
)"
|
||||
|
||||
DOCS=( AUTHORS BUGS NEWS README THANKS TODO doc/FAQ )
|
||||
[[ ${PV} = 9999 ]] || DOCS+=( ChangeLog )
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/cppunit-config
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
[[ ${PV} = 9999 ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Anything else than -O0 breaks on alpha
|
||||
use alpha && replace-flags "-O?" -O0
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE=${S} \
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(multilib_native_use_enable doc doxygen) \
|
||||
$(multilib_native_use_enable doc dot) \
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
--htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
|
||||
--disable-silent-rules
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
prune_libtool_files --all
|
||||
|
||||
if use examples ; then
|
||||
find examples -iname "*.o" -delete
|
||||
insinto /usr/share/${PN}
|
||||
doins -r examples
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user