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.
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= pciutils
19 COMPONENT_VERSION
= 3.13.0
20 COMPONENT_SUMMARY
= The PCI Utilities are a collection of programs for inspecting and manipulating configuration of PCI devices
21 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
22 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
23 COMPONENT_ARCHIVE_HASH
= sha256
:a03c88a0aab709b1697ca1753766f443e78297f84c7bcd80a82c1422edd7cb42
24 COMPONENT_ARCHIVE_URL
= https
://mj.ucw.cz
/download
/linux
/pci
/$(COMPONENT_ARCHIVE
)
25 COMPONENT_PROJECT_URL
= https
://mj.ucw.cz
/sw
/pciutils
/
26 COMPONENT_FMRI
= system
/pciutils
27 COMPONENT_CLASSIFICATION
= System
/Hardware
28 COMPONENT_LICENSE
= GPLv2
29 COMPONENT_LICENSE_FILE
= COPYING
31 TEST_TARGET
= $(NO_TESTS
)
32 include $(WS_MAKE_RULES
)/common.mk
36 COMPONENT_BUILD_ARGS
+= CC
=$(CC
)
37 COMPONENT_BUILD_ARGS
+= OPT
="-DBYTE_ORDER=1234 -DLITTLE_ENDIAN=1234"
38 COMPONENT_BUILD_ARGS
+= PREFIX
="/usr"
40 COMPONENT_INSTALL_ARGS
+= PREFIX
="/usr"
42 # Auto-generated dependencies
43 REQUIRED_PACKAGES
+= library
/zlib
44 REQUIRED_PACKAGES
+= shell/ksh93
45 REQUIRED_PACKAGES
+= system
/library