diff options
Diffstat (limited to 'package/libXi')
-rw-r--r-- | package/libXi/Makefile | 10 |
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 |