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]
23 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
26 include ..
/..
/make-rules
/shared-macros.mk
29 COMPONENT_VERSION
= 0.17
30 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
31 COMPONENT_PROJECT_URL
= http
://www.ex-parrot.com
/~pdw
/iftop
/
32 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
33 COMPONENT_ARCHIVE_HASH
= \
34 sha256
:d032547c708307159ff5fd0df23ebd3cfa7799c31536fa0aea1820318a8e0eac
35 COMPONENT_ARCHIVE_URL
= http
://www.ex-parrot.com
/~pdw
/iftop
/download
/$(COMPONENT_ARCHIVE
)
36 COMPONENT_BUGDB
= utility
/iftop
38 include ..
/..
/make-rules
/prep.mk
39 include ..
/..
/make-rules
/configure.mk
40 include ..
/..
/make-rules
/ips.mk
42 COMPONENT_PRE_CONFIGURE_ACTION
= \
43 ($(CLONEY
) $(SOURCE_DIR
) $(@D
))
47 # without this we bus error on sparc. sadly I don't see any patches
48 # that might relate from the upstream (though maybe that's really
49 # "happily", as this is simpler)
50 studio_ALIGN.sparc
.32= -xmemalign
=1i
53 IFTOP_LIBDIR
= /usr
/gnu
/lib
54 LDFLAGS
+= -L
$(IFTOP_LIBDIR
) -R
$(IFTOP_LIBDIR
)
55 CPPFLAGS
+= -I
/usr
/gnu
/include -I
/usr
/include/ncurses
56 CONFIGURE_OPTIONS
+= CPPFLAGS
="$(CPPFLAGS)"
62 install: $(INSTALL_32
)
66 BUILD_PKG_DEPENDENCIES
= $(BUILD_TOOLS
)
68 include ..
/..
/make-rules
/depend.mk