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.

61 lines
1.7 KiB

  1. #
  2. # Copyright (C) 2015 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=automake
  9. PKG_VERSION:=1.15
  10. PKG_RELEASE:=1
  11. PKG_SOURCE_URL:=@GNU/automake
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. PKG_MD5SUM:=716946a105ca228ab545fc37a70df3a3
  14. PKG_MAINTAINER:=Heinrich Schuchardt <xypron.glpk@gmx.de>
  15. PKG_LICENSE:=GPL-3.0+
  16. PKG_INSTALL:=1
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/automake
  19. SECTION:=devel
  20. CATEGORY:=Development
  21. TITLE:=automake
  22. URL:=https://www.gnu.org/software/automake/
  23. DEPENDS:=+autoconf +perlbase-thread +perlbase-attributes
  24. endef
  25. define Package/automake/description
  26. Automake is a tool for automatically generating Makefile.in files compliant
  27. with the GNU Coding Standards.
  28. endef
  29. define Package/automake/install
  30. $(INSTALL_DIR) $(1)/usr/bin
  31. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/automake-$(PKG_VERSION) \
  32. $(1)/usr/bin/automake
  33. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/aclocal-$(PKG_VERSION) \
  34. $(1)/usr/bin/aclocal
  35. $(SED) 's|$(STAGING_DIR_HOST)|/usr|g' $(1)/usr/bin/automake
  36. $(SED) 's|$(STAGING_DIR_HOST)|/usr|g' $(1)/usr/bin/aclocal
  37. $(INSTALL_DIR) $(1)/usr/share/automake-$(PKG_VERSION)
  38. for dir in \
  39. automake-$(PKG_VERSION) automake-$(PKG_VERSION)/Automake \
  40. automake-$(PKG_VERSION)/am aclocal \
  41. aclocal-$(PKG_VERSION) aclocal-$(PKG_VERSION)/internal \
  42. ; do \
  43. $(INSTALL_DIR) $(1)/usr/share/$$$$dir; \
  44. for file in $$$$(cd $(PKG_INSTALL_DIR) && \
  45. find usr/share/$$$$dir -maxdepth 1 -type f); do \
  46. $(INSTALL_DATA) $$(PKG_INSTALL_DIR)/$$$$file \
  47. $(1)/$$$$file; \
  48. done; \
  49. done
  50. endef
  51. $(eval $(call BuildPackage,automake))