summaryrefslogtreecommitdiff
path: root/package/libXxf86vm
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/libXxf86vm
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/libXxf86vm')
-rw-r--r--package/libXxf86vm/Makefile18
1 files changed, 3 insertions, 15 deletions
diff --git a/package/libXxf86vm/Makefile b/package/libXxf86vm/Makefile
index 9587663fe..96f25afda 100644
--- a/package/libXxf86vm/Makefile
+++ b/package/libXxf86vm/Makefile
@@ -5,21 +5,17 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= libXxf86vm
PKG_VERSION:= 1.1.2
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 84d26e26c07f8cbcb5f447590df5b5c3
PKG_DESCR:= an interface to the XFree86-VidModeExtension extension
PKG_SECTION:= x11/libs
PKG_BUILDDEP:= xf86vidmodeproto libXext
PKG_SITES:= ${MASTER_SITE_XORG}
-
-PKG_SUBPKGS:= LIBXXF86VM LIBXXF86VM_DEV
-PKGSC_LIBXXF86VM_DEV:= devel
-PKSSD_LIBXXF86VM_DEV:= XFree86-VidModeExtension headers
+PKG_OPTS:= dev
include $(TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,LIBXXF86VM,libxxf86vm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBXXF86VM_DEV,libxxf86vm-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKSSD_LIBXXF86VM_DEV},${PKGSC_LIBXXF86VM_DEV}))
+$(eval $(call PKG_template,LIBXXF86VM,libxxf86vm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
CONFIGURE_ARGS+= --disable-malloc0returnsnull
@@ -28,12 +24,4 @@ libxxf86vm-install:
${CP} $(WRKINST)/usr/lib/libXxf86vm*.so* \
$(IDIR_LIBXXF86VM)/usr/lib
-libxxf86vm-dev-install:
- $(INSTALL_DIR) $(IDIR_LIBXXF86VM_DEV)/usr/include
- ${CP} $(WRKINST)/usr/include/* \
- $(IDIR_LIBXXF86VM_DEV)/usr/include
- $(INSTALL_DIR) $(IDIR_LIBXXF86VM_DEV)/usr/lib/pkgconfig
- ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/*.pc \
- $(IDIR_LIBXXF86VM_DEV)/usr/lib/pkgconfig
-
include ${TOPDIR}/mk/pkg-bottom.mk