summaryrefslogtreecommitdiff
path: root/package/libXdamage/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/libXdamage/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/libXdamage/Makefile')
-rw-r--r--package/libXdamage/Makefile18
1 files changed, 3 insertions, 15 deletions
diff --git a/package/libXdamage/Makefile b/package/libXdamage/Makefile
index 78989868c..c301fc9e6 100644
--- a/package/libXdamage/Makefile
+++ b/package/libXdamage/Makefile
@@ -5,33 +5,21 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= libXdamage
PKG_VERSION:= 1.1.3
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 5e54789fd1c56392d38d29c6b8dad142
PKG_DESCR:= X Window System client interface to the DAMAGE extension to the X protocol
PKG_SECTION:= x11/libs
PKG_BUILDDEP:= libXfixes damageproto
PKG_SITES:= ${MASTER_SITE_XORG}
-
-PKG_SUBPKGS:= LIBXDAMAGE LIBXDAMAGE_DEV
-PKGSC_LIBXDAMAGE_DEV:= x11/devel
-PKGSD_LIBXDAMAGE_DEV:= DAMAGE extension headers
+PKG_OPTS:= dev
include $(TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,LIBXDAMAGE,libxdamage,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBXDAMAGE_DEV,libxdamage-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBXDAMAGE_DEV},${PKGSC_LIBXDAMAGE_DEV}))
+$(eval $(call PKG_template,LIBXDAMAGE,libxdamage,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
libxdamage-install:
$(INSTALL_DIR) $(IDIR_LIBXDAMAGE)/usr/lib
$(CP) $(WRKINST)/usr/lib/libXdamage*.so* \
$(IDIR_LIBXDAMAGE)/usr/lib
-libxdamage-dev-install:
- $(INSTALL_DIR) $(IDIR_LIBXDAMAGE_DEV)/usr/include
- $(CP) $(WRKINST)/usr/include/* \
- $(IDIR_LIBXDAMAGE_DEV)/usr/include
- $(INSTALL_DIR) $(IDIR_LIBXDAMAGE_DEV)/usr/lib/pkgconfig
- $(INSTALL_DATA) $(WRKINST)/usr/lib/pkgconfig/*.pc \
- $(IDIR_LIBXDAMAGE_DEV)/usr/lib/pkgconfig
-
include ${TOPDIR}/mk/pkg-bottom.mk