summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-03-31 05:13:44 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-04-02 16:12:46 +0200
commiteab7bac942ef65268ef049cb0639c04afe2fbd86 (patch)
tree065387d4be7bffb512d368f715bc8fffdbf21734
parent364beb5c1c5af9f1c447c0733b77e3c2684a2dfa (diff)
libXcomposite: add host package
-rw-r--r--package/libXcomposite/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/libXcomposite/Makefile b/package/libXcomposite/Makefile
index 628619089..a7adba73e 100644
--- a/package/libXcomposite/Makefile
+++ b/package/libXcomposite/Makefile
@@ -10,18 +10,24 @@ PKG_HASH:= 83c04649819c6f52cda1b0ce8bcdcc48ad8618428ad803fb07f20b802f1bdad1
PKG_DESCR:= composite library
PKG_SECTION:= x11/libs
PKG_BUILDDEP:= libX11 compositeproto libXfixes
+HOST_BUILDDEP:= compositeproto-host
PKG_SITES:= http://www.x.org/releases/individual/lib/
PKG_LIBNAME:= libxcomposite
PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
+include $(ADK_TOPDIR)/mk/host.mk
include $(ADK_TOPDIR)/mk/package.mk
+$(eval $(call HOST_template,LIBXCOMPOSITE,libxcomposite,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,LIBXCOMPOSITE,libxcomposite,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+HOST_STYLE:= auto
+
libxcomposite-install:
${INSTALL_DIR} ${IDIR_LIBXCOMPOSITE}/usr/lib
${CP} ${WRKINST}/usr/lib/libXcomposite.so* ${IDIR_LIBXCOMPOSITE}/usr/lib/
+include ${ADK_TOPDIR}/mk/host-bottom.mk
include ${ADK_TOPDIR}/mk/pkg-bottom.mk