summaryrefslogtreecommitdiff
path: root/package/xcb-proto
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2014-01-23 08:16:19 +0100
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2014-01-23 08:16:19 +0100
commit103810049b157dc809c82a0136e23fe4276b9750 (patch)
tree71b2d78e289482685b8be9026ce67ae6958c09eb /package/xcb-proto
parentbc934c9e037950a59375befc838b17bb12605c20 (diff)
parent17a6468b3f0fae577b1aaad51b56bdefe15a25c1 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/xcb-proto')
-rw-r--r--package/xcb-proto/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/package/xcb-proto/Makefile b/package/xcb-proto/Makefile
index 26561b546..eca8ab4f5 100644
--- a/package/xcb-proto/Makefile
+++ b/package/xcb-proto/Makefile
@@ -9,26 +9,29 @@ PKG_RELEASE:= 1
PKG_DESCR:= XML-XCB protocol descriptions
PKG_SECTION:= devel
PKG_MD5SUM:= 8d2cdb770129cef563088a90c5bec768
-PKG_BUILDDEP:= autotool bzip2-host python2-host
+PKG_BUILDDEP:= autotool bzip2-host python2-host xcb-proto-host
PKG_SITES:= http://xcb.freedesktop.org/dist/
PKG_OPTS:= dev devonly
PKG_SUBPKGS:= XCB_PROTO XCB_PYTHON
PKGSC_XCB_PYTHON:= x11/misc
+include $(TOPDIR)/mk/host.mk
include $(TOPDIR)/mk/package.mk
+$(eval $(call HOST_template,XCB_PROTO,xcb-proto,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,XCB_PROTO,xcb-proto,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
$(eval $(call PKG_template,XCB_PYTHON,xcb-python,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_XCB_PYTHON}))
include $(TOPDIR)/mk/python.mk
+HOST_STYLE:= auto
CONFIGURE_ENV+= PYTHON=$(PYTHON)
CONFIGURE_ARGS+= --datadir=${STAGING_DIR}/usr/share
post-build:
- ${INSTALL_DIR} ${STAGING_DIR}/usr/share/xcb
- ${CP} ${WRKBUILD}/src/*.xml ${STAGING_DIR}/usr/share/xcb
+ ${INSTALL_DIR} ${STAGING_TARGET_DIR}/usr/share/xcb
+ ${CP} ${WRKBUILD}/src/*.xml ${STAGING_TARGET_DIR}/usr/share/xcb
xcb-python-install:
$(INSTALL_DIR) ${STAGING_DIR}/usr/lib/python${PYTHON_VERSION}/site-packages/xcbgen
@@ -38,4 +41,5 @@ xcb-python-install:
${CP} ${WRKINST}/usr/lib/python${PYTHON_VERSION}/site-packages/xcbgen/*.py \
${IDIR_XCB_PYTHON}/usr/lib/python${PYTHON_VERSION}/site-packages/xcbgen
+include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk