From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- .../rrdtool-bindings/rrdtool-bindings-1.7.2.ebuild | 62 ---------------------- 1 file changed, 62 deletions(-) delete mode 100644 dev-ruby/rrdtool-bindings/rrdtool-bindings-1.7.2.ebuild (limited to 'dev-ruby/rrdtool-bindings/rrdtool-bindings-1.7.2.ebuild') diff --git a/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.7.2.ebuild b/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.7.2.ebuild deleted file mode 100644 index d52b6b98cdec..000000000000 --- a/dev-ruby/rrdtool-bindings/rrdtool-bindings-1.7.2.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby25 ruby26 ruby27 ruby30" -RUBY_FAKEGEM_TASK_DOC="" -inherit ruby-ng - -MY_P=${P/-bindings} -MY_P=${MY_P/_/-} - -DESCRIPTION="Ruby bindings for rrdtool" -HOMEPAGE="https://oss.oetiker.ch/rrdtool/" -SRC_URI="https://oss.oetiker.ch/rrdtool/pub/${MY_P}.tar.gz" -RUBY_S="$MY_P"/bindings/ruby - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x86-solaris" -IUSE="graph test" -RESTRICT="!test? ( test )" -REQUIRED_USE="test? ( graph )" - -# Block on older versions of rrdtool that install the bindings themselves. -# requires rrd_xport which requires rrd_graph -RDEPEND=" - ~net-analyzer/rrdtool-${PV}[graph=] -" -DEPEND=" - ${RDEPEND} - test? ( ~net-analyzer/rrdtool-${PV}[graph] ) -" - -all_ruby_prepare() { - eapply -p3 "${FILESDIR}"/${PN}-1.4.8-graph-ruby.patch -} - -each_ruby_configure() { - rm ../../src/rrd_config.h || die - touch ../../src/rrd_config.h || die - - ${RUBY} extconf.rb \ - --with-cflags="${CFLAGS} $(usex graph -DHAVE_RRD_GRAPH -UHAVE_RRD_GRAPH)" || die -} - -each_ruby_compile() { - emake V=1 ABS_TOP_SRCDIR="${PWD}/../.." -} - -each_ruby_test() { - if use graph; then - ${RUBY} -I. test.rb || die - fi -} - -all_ruby_install() { - dodoc CHANGES README -} - -each_ruby_install() { - DESTDIR=${D} emake install -} -- cgit v1.2.3