summaryrefslogtreecommitdiff
path: root/package/libXi
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-22 18:26:51 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-22 18:26:51 +0200
commit2b52e67da00817f93884a344a9a8b7e2c585fc8c (patch)
treecaa9c494197016efa62412c2483e36f011b2d392 /package/libXi
parente8f74f7222ddc977bf775e31101980b9311b7200 (diff)
parent48b18373159b70caca3f41643804c549552d66f4 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/libXi')
-rw-r--r--package/libXi/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/libXi/Makefile b/package/libXi/Makefile
index bdf1c54c8..990edce4c 100644
--- a/package/libXi/Makefile
+++ b/package/libXi/Makefile
@@ -13,6 +13,10 @@ PKG_BUILDDEP:= xproto xextproto libXext
PKG_URL:= http://xorg.freedesktop.org/
PKG_SITES:= ${MASTER_SITE_XORG}
+PKG_SUBPKGS:= LIBXI LIBXI_DEV
+PKGSS_LIBXI_DEV:= inputproto
+PKGSC_LIBXI_DEV:= x11/devel
+
ifeq ($(ADK_STATIC),y)
PKG_OPTS:= libonly
endif
@@ -20,6 +24,7 @@ endif
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBXI,libxi,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},$(PKG_OPTS)))
+$(eval $(call PKG_template,LIBXI_DEV,libxi-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKGSS_LIBXI_DEV},${PKG_DESCR},${PKGSC_LIBXI_DEV},$(PKG_OPTS)))
CONFIGURE_ARGS+= --disable-malloc0returnsnull
@@ -28,4 +33,9 @@ post-install:
$(CP) $(WRKINST)/usr/lib/libXi*.so* \
$(IDIR_LIBXI)/usr/lib
+libxi-dev-install:
+ $(INSTALL_DIR) $(IDIR_LIBXI_DEV)/usr/include
+ $(CP) $(WRKINST)/usr/include/* \
+ $(IDIR_LIBXI_DEV)/usr/include
+
include ${TOPDIR}/mk/pkg-bottom.mk