Makefile 706 B

123456789101112131415161718192021222324252627
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gnulib
  3. PKG_CPE_ID:=cpe:/a:gnu:$(PKG_NAME)
  4. PKG_VERSION:=f9a4ee73c3e7b544f640d0d04b55983d3a7b894e# # master
  5. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  6. PKG_SOURCE_URL:=https://git.savannah.gnu.org/cgit/$(PKG_NAME).git/snapshot
  7. PKG_HASH:=514716d58987a9c0de0d69fb22d42bcd19edf80eed099882a004ff162060f1a8
  8. include $(INCLUDE_DIR)/host-build.mk
  9. define Host/Configure
  10. endef
  11. define Host/Install
  12. $(INSTALL_DIR) $(1)/share/aclocal
  13. $(INSTALL_DATA) $(HOST_BUILD_DIR)/m4/*.m4 $(1)/share/aclocal/
  14. $(INSTALL_DIR) $(1)/share/gnulib
  15. $(CP) $(HOST_BUILD_DIR)/* $(1)/share/gnulib/
  16. endef
  17. define Host/Clean
  18. rm -rf $(STAGING_DIR_HOST)/share/gnulib
  19. endef
  20. $(eval $(call HostBuild))