summaryrefslogtreecommitdiff
path: root/package/libXi/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
commit90d5c8b73e8d538e121275b12e714332ca785cff (patch)
treeb70121e4732d658097d1db00c8af381629ec82eb /package/libXi/Makefile
parent33dd541790614765228a71477e1f8b2b6aa21ce1 (diff)
automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages
Diffstat (limited to 'package/libXi/Makefile')
-rw-r--r--package/libXi/Makefile17
1 files changed, 4 insertions, 13 deletions
diff --git a/package/libXi/Makefile b/package/libXi/Makefile
index 54ddb1f86..132317e47 100644
--- a/package/libXi/Makefile
+++ b/package/libXi/Makefile
@@ -5,37 +5,28 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= libXi
PKG_VERSION:= 1.6.1
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= d024a9de73191628f9772893f02054d8
PKG_DESCR:= X Window System client interface to the XINPUT extension to the X protocol.
PKG_SECTION:= x11/libs
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
+PKG_OPTS:= dev
ifeq ($(ADK_STATIC),y)
-PKG_OPTS:= libonly
+PKG_OPTS+= libonly
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
-post-install:
+libxi-install:
$(INSTALL_DIR) $(IDIR_LIBXI)/usr/lib
$(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