summaryrefslogtreecommitdiff
path: root/package/xproto/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/xproto/Makefile')
-rw-r--r--package/xproto/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/xproto/Makefile b/package/xproto/Makefile
index 3113dede3..5c123c089 100644
--- a/package/xproto/Makefile
+++ b/package/xproto/Makefile
@@ -9,11 +9,17 @@ PKG_RELEASE:= 1
PKG_DESCR:= X Window System Core Protocol headers
PKG_SECTION:= devel
PKG_MD5SUM:= 7ab1239930563a352cb3552fd2db4140
+PKG_BUILDDEP:= xproto-host
PKG_SITES:= ${MASTER_SITE_XORG}
PKG_OPTS:= dev devonly
+include $(TOPDIR)/mk/host.mk
include $(TOPDIR)/mk/package.mk
+$(eval $(call HOST_template,XPROTO,xproto,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,XPROTO,xproto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+HOST_STYLE:= auto
+
+include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk