summaryrefslogtreecommitdiff
path: root/package/libXext/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/libXext/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/libXext/Makefile')
-rw-r--r--package/libXext/Makefile19
1 files changed, 3 insertions, 16 deletions
diff --git a/package/libXext/Makefile b/package/libXext/Makefile
index 25760a920..2713ecb08 100644
--- a/package/libXext/Makefile
+++ b/package/libXext/Makefile
@@ -5,26 +5,21 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= libXext
PKG_VERSION:= 1.3.1
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 249478eae5c4fab7722894cb99565405
PKG_DESCR:= X client interface to extensions of the X protocol
PKG_SECTION:= x11/libs
PKG_BUILDDEP:= libX11 xextproto
PKG_SITES:= ${MASTER_SITE_XORG}
-
-PKG_SUBPKGS:= LIBXEXT LIBXEXT_DEV
-PKGSD_LIBXEXT_DEV:= X11 extension headers
-PKGSC_LIBXEXT_DEV:= x11/devel
-PKGSS_LIBXEXT_DEV:= xextproto
+PKG_OPTS:= dev
ifeq ($(ADK_STATIC),y)
-PKG_OPTS:= libonly
+PKG_OPTS+= libonly
endif
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBXEXT,libxext,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-$(eval $(call PKG_template,LIBXEXT_DEV,libxext-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKGSS_LIBXEXT_DEV},${PKGSD_LIBXEXT_DEV},${PKGSC_LIBXEXT_DEV},${PKG_OPTS}))
CONFIGURE_ARGS+= --disable-malloc0returnsnull
@@ -32,12 +27,4 @@ libxext-install:
${INSTALL_DIR} ${IDIR_LIBXEXT}/usr/lib
${CP} ${WRKINST}/usr/lib/libXext.so* ${IDIR_LIBXEXT}/usr/lib/
-libxext-dev-install:
- ${INSTALL_DIR} ${IDIR_LIBXEXT_DEV}/usr/include/X11/extensions
- ${CP} ${WRKINST}/usr/include/X11/extensions/*.h \
- ${IDIR_LIBXEXT_DEV}/usr/include/X11/extensions
- ${INSTALL_DIR} ${IDIR_LIBXEXT_DEV}/usr/lib/pkgconfig
- ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/xext.pc \
- ${IDIR_LIBXEXT_DEV}/usr/lib/pkgconfig
-
include ${TOPDIR}/mk/pkg-bottom.mk