2021-06-17 21:21:44 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=meson
|
2022-08-29 06:03:08 +00:00
|
|
|
PKG_VERSION:=0.63.1
|
2021-06-17 21:21:44 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=https://github.com/mesonbuild/meson/releases/download/$(PKG_VERSION)
|
2022-08-29 06:03:08 +00:00
|
|
|
PKG_HASH:=06fe13297213d6ff0121c5d5aab25a56ef938ffec57414ed6086fda272cb65e9
|
2021-06-17 21:21:44 +00:00
|
|
|
|
|
|
|
PKG_MAINTAINER:=Andre Heider <a.heider@gmail.com>
|
|
|
|
PKG_LICENSE:=Apache-2.0
|
|
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
|
|
|
define Host/Configure
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Host/Compile
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Host/Install
|
2021-10-05 01:48:30 +00:00
|
|
|
$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin
|
2021-11-22 08:51:08 +00:00
|
|
|
$(HOST_BUILD_DIR)/packaging/create_zipapp.py $(HOST_BUILD_DIR) --outfile $(STAGING_DIR_HOST)/bin/meson.py
|
2021-06-17 21:21:44 +00:00
|
|
|
$(INSTALL_DIR) $(STAGING_DIR_HOST)/lib/meson
|
2021-10-05 01:48:30 +00:00
|
|
|
$(INSTALL_CONF) files/openwrt-cross.txt.in $(STAGING_DIR_HOST)/lib/meson/
|
|
|
|
$(INSTALL_CONF) files/openwrt-native.txt.in $(STAGING_DIR_HOST)/lib/meson/
|
2021-06-17 21:21:44 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Host/Clean
|
|
|
|
$(call Host/Clean/Default)
|
|
|
|
rm -rf $(STAGING_DIR_HOST)/lib/meson
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|