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 2022 Benjamin S. Osenbach
15 BUILD_BITS
=64 # for binaries or 32_and_64 for libraries
17 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_VERSION
=0.6.2
21 COMPONENT_SUMMARY
= Simple X hotkey daemon
22 COMPONENT_PROJECT_URL
=https
://github.com
/baskerville
/sxhkd
23 COMPONENT_FMRI
=application
/sxhkd
24 COMPONENT_CLASSIFICATION
=Applications
/System Utilities
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
27 COMPONENT_ARCHIVE_URL
=https
://github.com
/baskerville
/sxhkd
/archive
/refs
/tags/$(COMPONENT_VERSION
).
tar.gz
28 COMPONENT_ARCHIVE_HASH
=sha256
:1edc8b1a8b3631c10ba9cb9df1181830dacbbdf77adb558e31d5dd2029637386
30 TEST_TARGET
=$(NO_TESTS
) # if no testsuite enabled
31 include $(WS_MAKE_RULES
)/common.mk
33 COMPONENT_BUILD_ENV
+= PREFIX
=/usr
35 COMPONENT_INSTALL_ENV
+= PREFIX
=/usr
37 # Auto-generated dependencies
38 REQUIRED_PACKAGES
+= system
/library
39 REQUIRED_PACKAGES
+= x11
/library
/libxcb
40 REQUIRED_PACKAGES
+= x11
/library
/xcb-util-keysyms