diff options
Diffstat (limited to 'dev-cpp/glog/glog-0.3.4.ebuild')
-rw-r--r-- | dev-cpp/glog/glog-0.3.4.ebuild | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/dev-cpp/glog/glog-0.3.4.ebuild b/dev-cpp/glog/glog-0.3.4.ebuild deleted file mode 100644 index a6b6ee4e3fb4..000000000000 --- a/dev-cpp/glog/glog-0.3.4.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit eutils multilib-minimal - -DESCRIPTION="Google's C++ logging library" -HOMEPAGE="https://github.com/google/glog" -SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="gflags static-libs unwind test" - -RDEPEND="gflags? ( >=dev-cpp/gflags-2.0-r1[${MULTILIB_USEDEP}] ) - unwind? ( sys-libs/libunwind )" -DEPEND="${RDEPEND} - test? ( >=dev-cpp/gtest-1.8.0[${MULTILIB_USEDEP}] )" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-0.3.2-avoid-inline-asm.patch - # Fix the --dodcdir flag: - # https://code.google.com/p/google-glog/issues/detail?id=193 - sed -i \ - -e '/^docdir =/s:=.*:= @docdir@:' \ - Makefile.in || die -} - -multilib_src_configure() { - use test || export ac_cv_prog_GTEST_CONFIG=no - ECONF_SOURCE=${S} \ - ac_cv_lib_gflags_main=$(usex gflags) \ - ac_cv_lib_unwind_backtrace=$(usex unwind) \ - econf \ - --docdir="\$(datarootdir)/doc/${PF}" \ - --htmldir='$(docdir)/html' \ - $(use_enable static-libs static) -} - -_emake() { - # The tests always get built ... disable them when unused. - emake $(usex test '' noinst_PROGRAMS=) "$@" -} - -multilib_src_compile() { - _emake -} - -multilib_src_install() { - _emake install DESTDIR="${D}" -} - -multilib_src_install_all() { - # Punt docs we don't care about (NEWS is 0 bytes). - rm "${ED}"/usr/share/doc/${PF}/{COPYING,NEWS,README.windows} || die - - # --htmldir doesn't work (yet): - # https://code.google.com/p/google-glog/issues/detail?id=144 - dohtml "${ED}"/usr/share/doc/${PF}/* - rm "${ED}"/usr/share/doc/${PF}/*.{html,css} - - use static-libs || find "${ED}" -name '*.la' -delete -} |