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 2013 - 2016 Adam Stevko. All rights reserved.
15 include ..
/..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_NAME
= pciutils
18 COMPONENT_VERSION
= 3.4.0
19 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
20 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
21 COMPONENT_ARCHIVE_HASH
= sha256
:ba6244652723e137001e69d6081497d462cbff6ba0acec38cc81c20ea1ac0d7e
22 COMPONENT_ARCHIVE_URL
= ftp
://atrey.karlin.mff.cuni.cz
/pub
/linux
/pci
/$(COMPONENT_ARCHIVE
)
23 COMPONENT_PROJECT_URL
= http
://mj.ucw.cz
/sw
/pciutils
/
24 COMPONENT_FMRI
= system
/pciutils
25 COMPONENT_SUMMARY
= The PCI Utilities are a collection of programs for inspecting and manipulating configuration of PCI devices
26 COMPONENT_LICENSE
= GPLv2
27 COMPONENT_LICENSE_FILE
= COPYING
29 include $(WS_MAKE_RULES
)/prep.mk
30 include $(WS_MAKE_RULES
)/justmake.mk
31 include $(WS_MAKE_RULES
)/ips.mk
33 COMPONENT_BUILD_ARGS
+= CC
=$(CC
)
34 COMPONENT_BUILD_ARGS
+= OPT
="-O2 -DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234"
35 COMPONENT_BUILD_ARGS
+= PREFIX
="/usr"
37 COMPONENT_INSTALL_ARGS
+= PREFIX
="/usr"
41 install: $(INSTALL_32
)
45 REQUIRED_PACKAGES
+= library
/zlib
46 REQUIRED_PACKAGES
+= SUNWcs
47 REQUIRED_PACKAGES
+= system
/library