Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= libXxf86vm
  5. PKG_VERSION:= 1.1.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 822a847fc4ea1b38f6c4d6f86d1e4fd9
  8. PKG_DESCR:= an interface to the XFree86-VidModeExtension extension
  9. PKG_SECTION:= x11/libs
  10. PKG_BUILDDEP:= xf86vidmodeproto libXext
  11. PKG_SITES:= ${MASTER_SITE_XORG}
  12. PKG_SUBPKGS:= LIBXXF86VM LIBXXF86VM_DEV
  13. PKGSC_LIBXXF86VM_DEV:= devel
  14. PKSSD_LIBXXF86VM_DEV:= XFree86-VidModeExtension headers
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,LIBXXF86VM,libxxf86vm,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. $(eval $(call PKG_template,LIBXXF86VM_DEV,libxxf86vm-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKSSD_LIBXXF86VM_DEV},${PKGSC_LIBXXF86VM_DEV}))
  18. CONFIGURE_ARGS+= --disable-malloc0returnsnull
  19. libxxf86vm-install:
  20. $(INSTALL_DIR) $(IDIR_LIBXXF86VM)/usr/lib
  21. ${CP} $(WRKINST)/usr/lib/libXxf86vm*.so* \
  22. $(IDIR_LIBXXF86VM)/usr/lib
  23. libxxf86vm-dev-install:
  24. $(INSTALL_DIR) $(IDIR_LIBXXF86VM_DEV)/usr/include
  25. ${CP} $(WRKINST)/usr/include/* \
  26. $(IDIR_LIBXXF86VM_DEV)/usr/include
  27. $(INSTALL_DIR) $(IDIR_LIBXXF86VM_DEV)/usr/lib/pkgconfig
  28. ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/*.pc \
  29. $(IDIR_LIBXXF86VM_DEV)/usr/lib/pkgconfig
  30. include ${TOPDIR}/mk/pkg-bottom.mk