2023-03-22 22:29:24 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=gnulib
|
|
|
|
PKG_CPE_ID:=cpe:/a:gnu:$(PKG_NAME)
|
2024-03-04 04:15:25 +00:00
|
|
|
PKG_VERSION:=c99c8d491850dc3a6e0b8604a2729d8bc5c0eff1# # stable-202401
|
2023-03-22 22:29:24 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=https://git.savannah.gnu.org/cgit/$(PKG_NAME).git/snapshot
|
2024-03-04 04:15:25 +00:00
|
|
|
PKG_HASH:=8e6f4a907d9677b55fd452e1340a3e030a6f530b138d420c11975da33f086b1e
|
2023-03-22 22:29:24 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
|
|
|
define Host/Configure
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Host/Install
|
2023-03-22 22:46:30 +00:00
|
|
|
$(INSTALL_DIR) $(1)/share/aclocal
|
|
|
|
$(INSTALL_DATA) $(HOST_BUILD_DIR)/m4/*.m4 $(1)/share/aclocal/
|
2023-03-22 22:29:24 +00:00
|
|
|
$(INSTALL_DIR) $(1)/share/gnulib
|
|
|
|
$(CP) $(HOST_BUILD_DIR)/* $(1)/share/gnulib/
|
2023-01-11 17:41:22 +00:00
|
|
|
ln -sf ../share/gnulib/gnulib-tool $(STAGING_DIR_HOST)/bin/gnulib-tool
|
2023-03-22 22:29:24 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Host/Clean
|
2023-01-11 17:41:22 +00:00
|
|
|
rm -rf $(STAGING_DIR_HOST)/bin/gnulib-tool $(STAGING_DIR_HOST)/share/gnulib
|
2023-03-22 22:29:24 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|