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.3 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=meson
  3. PKG_VERSION:=0.53.1
  4. PKG_RELEASE:=1
  5. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  6. PKG_SOURCE_URL:=https://github.com/mesonbuild/meson/releases/download/$(PKG_VERSION)/
  7. PKG_HASH:=ec1ba33eea701baca2c1607dac458152dc8323364a51fdef6babda2623413b04
  8. PKG_MAINTAINER:=Andre Heider <a.heider@gmail.com>
  9. PKG_LICENSE:=Apache-2.0
  10. PKG_LICENSE_FILES:=COPYING
  11. HOST_BUILD_DEPENDS:=ninja/host
  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))