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.

53 lines
1.2 KiB

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