nrpe: update to 4.1.3
[oi-userland.git] / components / sysutils / mrtg / Makefile
blob44cd43f36d4f48c2345b02af4f5e09b7d574f7f4
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2013 Alexander Pyhalov. All rights reserved.
14 # Copyright 2020, 2022 Andreas Wacknitz
16 SINGLE_PERL_VERSION= yes
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= mrtg
20 COMPONENT_VERSION= 2.17.10
21 COMPONENT_SUMMARY= mrtg - The Multi Router Traffic Grapher
22 COMPONENT_PROJECT_URL = https://oss.oetiker.ch/mrtg/
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
25 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/pub/$(COMPONENT_ARCHIVE)
26 COMPONENT_ARCHIVE_HASH= sha256:c7f11cb5e217a500d87ee3b5d26c58a8652edbc0d3291688bb792b010fae43ac
27 COMPONENT_FMRI= diagnostic/mrtg
28 COMPONENT_CLASSIFICATION= Applications/Internet
29 COMPONENT_LICENSE= GPLv2
31 TEST_TARGET= $(NO_TESTS)
32 include $(WS_MAKE_RULES)/common.mk
34 COMPONENT_PRE_CONFIGURE_ACTION= ($(CLONEY) $(SOURCE_DIR) $(@D))
36 CONFIGURE_SCRIPT= $(@D)/configure
37 CONFIGURE_OPTIONS+= --with-gd-lib=/usr/lib
38 CONFIGURE_OPTIONS+= --with-gd-inc=/usr/include/gd2
40 REQUIRED_PACKAGES += image/rrdtool
42 # Auto-generated dependencies
43 REQUIRED_PACKAGES += library/gd
44 REQUIRED_PACKAGES += runtime/perl
45 REQUIRED_PACKAGES += system/library
46 REQUIRED_PACKAGES += system/library/math