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.

55 lines
1.2 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=meson
  3. PKG_VERSION:=0.57.1
  4. PKG_RELEASE:=$(AUTORELEASE)
  5. PYPI_NAME:=meson
  6. PKG_HASH:=72e1c782ba9bda204f4a1ed57f98d027d7b6eb9414c723eebbd6ec7f1955c8a6
  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. endef
  34. define Package/meson/description
  35. Meson is an open source build system meant to be both extremely fast, and, even more importantly, as user friendly as possible.
  36. endef
  37. define Package/meson/install
  38. endef
  39. $(eval $(call HostBuild))
  40. $(eval $(call Py3Package,meson))
  41. $(eval $(call BuildPackage,meson))
  42. $(eval $(call BuildPackage,meson-src))