summaryrefslogtreecommitdiff
path: root/package/xkbcomp/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2025-04-19 02:57:20 +0000
committerWaldemar Brodkorb <wbx@openadk.org>2025-04-24 13:37:31 +0200
commitb537b382d47025ccdf9b6d38ff98f30cf8418126 (patch)
treebbd65e5502f79840d3bbe1c7ed46f060628e3e39 /package/xkbcomp/Makefile
parentc317530455f95f33711a1ffab287fcd0546603c2 (diff)
allow to build xkeyboard w/o xkbcomp on host
Diffstat (limited to 'package/xkbcomp/Makefile')
-rw-r--r--package/xkbcomp/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/xkbcomp/Makefile b/package/xkbcomp/Makefile
index 03da06b23..fd8f421cd 100644
--- a/package/xkbcomp/Makefile
+++ b/package/xkbcomp/Makefile
@@ -11,16 +11,20 @@ PKG_DESCR:= x11 keyboard compiler
PKG_SECTION:= x11/misc
PKG_BUILDDEP:= libxkbfile libX11
PKG_DEPENDS:= libxkbfile libx11
+HOST_BUILDDEP:= libxkbfile-host
PKG_SITES:= http://xorg.freedesktop.org/releases/X11R7.4/src/everything/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
+include $(ADK_TOPDIR)/mk/host.mk
include $(ADK_TOPDIR)/mk/package.mk
+$(eval $(call HOST_template,XKBCOMP,xkbcomp,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,XKBCOMP,xkbcomp,$(PKG_VERSION)-$(PKG_RELEASE),${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
xkbcomp-install:
${INSTALL_DIR} ${IDIR_XKBCOMP}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/xkbcomp ${IDIR_XKBCOMP}/usr/bin
+include ${ADK_TOPDIR}/mk/host-bottom.mk
include ${ADK_TOPDIR}/mk/pkg-bottom.mk