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 (c) 2015 Alexander Pyhalov
13 # Copyright (c) 2019 Michal Nowak
18 include ..
/..
/..
/make-rules
/shared-macros.mk
19 include $(WS_MAKE_RULES
)/x11.mk
21 COMPONENT_NAME
= libpciaccess
22 COMPONENT_VERSION
= 0.18.1
23 COMPONENT_SUMMARY
= scanpci and libpciaccess
- generic PCI access software
24 COMPONENT_ARCHIVE_EXTENSION
= .
tar.xz
25 COMPONENT_ARCHIVE_HASH
= sha256
:4af43444b38adb5545d0ed1c2ce46d9608cc47b31c2387fc5181656765a6fa76
26 COMPONENT_FMRI
= diagnostic
/scanpci
27 COMPONENT_CLASSIFICATION
=System
/Hardware
28 COMPONENT_LICENSE_FILE
= COPYING
30 DROP_STATIC_LIBRARIES
= yes
31 include $(WS_MAKE_RULES
)/common.mk
34 # scanpci is missing in the prototype area so manually copy it over.
35 COMPONENT_POST_INSTALL_ACTION
.64 += ( \
36 $(MKDIR
) $(PROTOUSRBINDIR
) ; \
37 $(CP
) $(BUILD_DIR_64
)/scanpci
/scanpci
$(PROTOUSRBINDIR
)/ ; ) ;
39 # Auto-generated dependencies
40 REQUIRED_PACKAGES
+= library
/zlib
41 REQUIRED_PACKAGES
+= system
/library