rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / web / goaccess / Makefile
blobd24aa06d4d56bcd3727e99fe57b1799f6756d3ba
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2016 Adam Stevko
14 BUILD_BITS=64
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= goaccess
19 COMPONENT_VERSION= 1.4.3
20 COMPONENT_SUMMARY= GoAccess is an open source real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
21 COMPONENT_PROJECT_URL= https://goaccess.io/
22 COMPONENT_FMRI= web/goaccess
23 COMPONENT_CLASSIFICATION=Web Services/Application and Web Servers
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
26 COMPONENT_ARCHIVE_URL= https://tar.goaccess.io/$(COMPONENT_ARCHIVE)
27 COMPONENT_ARCHIVE_HASH= sha256:91fb13a194e1248188007f1bfb79e722faa001479c859ad34d2e5983406161c0
28 COMPONENT_LICENSE= MIT
29 COMPONENT_LICENSE_FILE= $(COMPONENT_NAME).license
31 include $(WS_MAKE_RULES)/common.mk
33 COMPONENT_PRE_CONFIGURE_ACTION= \
34 $(CLONEY) $(SOURCE_DIR) $(@D)
36 CONFIGURE_OPTIONS+= --sysconfdir=/etc
37 CONFIGURE_OPTIONS+= --enable-geoip=legacy
39 CFLAGS+= -std=gnu99
41 # Auto-generated dependencies
42 REQUIRED_PACKAGES += database/geoip
43 REQUIRED_PACKAGES += library/ncurses
44 REQUIRED_PACKAGES += system/library