From 90d5c8b73e8d538e121275b12e714332ca785cff Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 21 Oct 2013 17:20:24 +0200 Subject: automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages --- package/libXxf86vm/Makefile | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'package/libXxf86vm') 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 -- cgit v1.2.3