ntp: build is racy, do not parallelize
[unleashed-userland.git] / components / sysutils / ngrep / Makefile
blob213dc7f923dfa3c7568121d9cd802828181b8a07
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
15 include ../../../make-rules/shared-macros.mk
17 COMPONENT_NAME= ngrep
18 COMPONENT_VERSION= 1.45
19 COMPONENT_SUMMARY= ngrep strives to provide most of GNU grep common features, applying them to the network layer
20 COMPONENT_PROJECT_URL= http://ngrep.sourceforge.net/
21 COMPONENT_FMRI= diagnostic/ngrep
22 COMPONENT_CLASSIFICATION= Applications/Internet
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
25 COMPONENT_ARCHIVE_URL= https://sourceforge.net/projects/ngrep/files/$(COMPONENT_NAME)/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)/download
26 COMPONENT_ARCHIVE_HASH= sha256:aea6dd337da8781847c75b3b5b876e4de9c58520e0d77310679a979fc6402fa7
27 COMPONENT_LICENSE= BSD
28 COMPONENT_LICENSE_FILE= $(COMPONENT_NAME).license
30 include $(WS_MAKE_RULES)/prep.mk
31 include $(WS_MAKE_RULES)/configure.mk
32 include $(WS_MAKE_RULES)/ips.mk
34 COMPONENT_PRE_CONFIGURE_ACTION= \
35 $(CLONEY) $(SOURCE_DIR) $(@D)
37 CONFIGURE_OPTIONS+= --enable-ipv6
38 CONFIGURE_OPTIONS+= --enable-pcre
39 CONFIGURE_OPTIONS+= --with-dropprivs-user=nobody
40 CONFIGURE_OPTIONS+= --with-pcap-includes=/usr/include/pcap
42 build: $(BUILD_32)
44 install: $(INSTALL_32)
46 test: $(TEST_32)
48 REQUIRED_PACKAGES += system/library
49 REQUIRED_PACKAGES += system/library/libpcap