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) 2016 Sergey Avseyev
14 include ..
/..
/..
/make-rules
/shared-macros.mk
16 COMPONENT_NAME
= wmname
17 COMPONENT_VERSION
= 0.1
18 COMPONENT_PROJECT_URL
= http
://tools.suckless.org
/x
/wmname
/
19 COMPONENT_SUMMARY
= wmname prints
/sets the window manager name property of the root window similar to how hostname
(1) behaves
20 COMPONENT_FMRI
= desktop
/wmname
21 COMPONENT_CLASSIFICATION
= Applications
/System Utilities
22 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
24 COMPONENT_ARCHIVE_HASH
= sha256
:559ad188b2913167dcbb37ecfbb7ed474a7ec4bbcb0129d8d5d08cb9208d02c5
25 COMPONENT_ARCHIVE_URL
= http
://dl.suckless.org
/tools
/$(COMPONENT_ARCHIVE
)
26 COMPONENT_LICENSE
= MIT
/X
27 COMPONENT_LICENSE_FILE
= LICENSE
29 include $(WS_MAKE_RULES
)/prep.mk
30 include $(WS_MAKE_RULES
)/justmake.mk
31 include $(WS_MAKE_RULES
)/ips.mk
33 COMPONENT_BUILD_ENV
= CC_BITS
=$(CC_BITS
) LD_BITS
=$(LD_BITS
)
34 COMPONENT_BUILD_ARGS
= CC
=$(CC
)
35 COMPONENT_INSTALL_ARGS
.64= MACH64
=$(MACH64
)
37 build
: $(BUILD_32_and_64
)
39 install: $(INSTALL_32_and_64
)
43 REQUIRED_PACKAGES
+= system
/library
44 REQUIRED_PACKAGES
+= x11
/library
/libx11