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 GrĂ¼ninger GmbH, Andreas GrĂ¼ninger (grueni)
17 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= smp_utils
22 COMPONENT_VERSION
= 0.99
23 COMPONENT_SUMMARY
= Utilities for the Serial Attached SCSI
(SAS
) Serial Management Protocol
(SMP
)
24 COMPONENT_PROJECT_URL
= http
://sg.danny.cz
/sg
/smp_utils.html
25 COMPONENT_FMRI
= system
/storage
/$(COMPONENT_NAME
)
26 COMPONENT_CLASSIFICATION
= Applications
/System Utilities
27 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
28 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).tgz
29 COMPONENT_ARCHIVE_URL
= http
://sg.danny.cz
/sg
/p
/$(COMPONENT_ARCHIVE
)
30 COMPONENT_ARCHIVE_HASH
= sha256
:f0ecd4532a1d9aff962f5028cfcf191da84274c5d3a1200f57cfbeb545a54b3c
31 COMPONENT_BUGDB
= utility
/smp_utils
32 COMPONENT_LICENSE
= FreeBSD
34 TEST_TARGET
= $(NO_TESTS
)
36 include $(WS_MAKE_RULES
)/common.mk
38 CFLAGS
+= -I
$(COMPONENT_DIR
)/$(COMPONENT_SRC
)/include
40 CONFIGURE_OPTIONS
+= CFLAGS
="$(CFLAGS)"
41 CONFIGURE_OPTIONS
+= --bindir ${USRBINDIR}
42 CONFIGURE_OPTIONS
+= --sbindir
${USRBINDIR}
43 CONFIGURE_OPTIONS
+= --enable-static
=no
45 PKG_PROTO_DIRS
+= $(COMPONENT_DIR
)/files
48 REQUIRED_PACKAGES
+= developer
/gcc-10
50 # Auto-generated dependencies
51 REQUIRED_PACKAGES
+= system
/library