You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.2 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=meson
  3. PKG_VERSION:=0.53.2
  4. PKG_RELEASE:=1
  5. PYPI_NAME:=meson
  6. PKG_HASH:=3e8f830f33184397c2eb0b651ec502adb63decb28978bdc84b3558d71284c21f
  7. PKG_MAINTAINER:=Andre Heider <a.heider@gmail.com>
  8. PKG_LICENSE:=Apache-2.0
  9. PKG_LICENSE_FILES:=COPYING
  10. HOST_BUILD_DEPENDS:=ninja/host
  11. include ../../lang/python/pypi.mk
  12. include $(INCLUDE_DIR)/host-build.mk
  13. include $(INCLUDE_DIR)/package.mk
  14. include ../../lang/python/python3-package.mk
  15. define Host/Configure
  16. endef
  17. define Host/Compile
  18. endef
  19. define Host/Install
  20. $(INSTALL_DIR) $(STAGING_DIR_HOSTPKG)/lib/meson
  21. $(CP) $(HOST_BUILD_DIR)/* $(STAGING_DIR_HOSTPKG)/lib/meson/
  22. endef
  23. define Host/Clean
  24. $(call Host/Clean/Default)
  25. rm -rf $(STAGING_DIR_HOSTPKG)/lib/meson
  26. endef
  27. define Package/meson
  28. SECTION:=devel
  29. CATEGORY:=Development
  30. TITLE:=meson
  31. URL:=https://mesonbuild.com/
  32. DEPENDS:=+ninja +python3-pkg-resources
  33. VARIANT:=python3
  34. endef
  35. define Package/meson/description
  36. Meson is an open source build system meant to be both extremely fast, and, even more importantly, as user friendly as possible.
  37. endef
  38. define Package/meson/install
  39. endef
  40. $(eval $(call HostBuild))
  41. $(eval $(call Py3Package,meson))
  42. $(eval $(call BuildPackage,meson))
  43. $(eval $(call BuildPackage,meson-src))