sbcl: update to 2.5.1
[oi-userland.git] / components / network / iftop / Makefile
blob0c2ef42e394470b439c074b4023263df5b1a8ab1
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
23 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
24 # Copyright (c) 2019, Nona Hansel
27 PREFERRED_BITS= 64
29 include ../../../make-rules/shared-macros.mk
31 COMPONENT_NAME= iftop
32 COMPONENT_VERSION= 0.17
33 COMPONENT_REVISION= 1
34 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
35 COMPONENT_PROJECT_URL= http://www.ex-parrot.com/~pdw/iftop/
36 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
37 COMPONENT_ARCHIVE_HASH= \
38 sha256:d032547c708307159ff5fd0df23ebd3cfa7799c31536fa0aea1820318a8e0eac
39 COMPONENT_ARCHIVE_URL= http://www.ex-parrot.com/~pdw/iftop/download/$(COMPONENT_ARCHIVE)
41 include $(WS_MAKE_RULES)/prep.mk
42 include $(WS_MAKE_RULES)/configure.mk
43 include $(WS_MAKE_RULES)/ips.mk
45 COMPONENT_PRE_CONFIGURE_ACTION = \
46 ($(CLONEY) $(SOURCE_DIR) $(@D))
48 PATCH_LEVEL= 0
50 # without this we bus error on sparc. sadly I don't see any patches
51 # that might relate from the upstream (though maybe that's really
52 # "happily", as this is simpler)
53 studio_ALIGN.sparc.32= -xmemalign=1i
56 CPPFLAGS += -I/usr/gnu/include -I/usr/include/ncurses
57 CONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS)"
60 # common targets
61 build: $(BUILD_64)
63 install: $(INSTALL_64)
65 test: $(NO_TESTS)
67 # Auto-generated dependencies
68 REQUIRED_PACKAGES += library/ncurses
69 REQUIRED_PACKAGES += system/library
70 REQUIRED_PACKAGES += system/library/libpcap
71 REQUIRED_PACKAGES += system/library/math