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.

52 lines
1.5 KiB

  1. #
  2. # Copyright (C) 2016 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:=libtool
  9. PKG_VERSION:=2.4.6
  10. PKG_RELEASE:=3
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  12. PKG_SOURCE_URL:=@GNU/libtool
  13. PKG_HASH:=7c87a8c2c8c0fc9cd5019e402bed4292462d00a718a7cd5f11218153bf28b26f
  14. PKG_MAINTAINER:=Heinrich Schuchardt <xypron.glpk@gmx.de>
  15. PKG_LICENSE:=GPL-2.0-or-later
  16. PKG_BUILD_DIR = $(BUILD_DIR)/libtool-bin/$(PKG_NAME)-$(PKG_VERSION)
  17. PKG_INSTALL:=1
  18. include $(INCLUDE_DIR)/package.mk
  19. CONFIGURE_VARS += GREP=grep SED=sed
  20. define Package/libtool-bin
  21. SECTION:=devel
  22. CATEGORY:=Development
  23. TITLE:=GNU Libtool - libtoolize
  24. URL:=https://www.gnu.org/software/libtool/
  25. endef
  26. define Package/libtool-bin/description
  27. GNU libtool is a generic library support script.
  28. Libtool hides the complexity of using shared libraries behind a consistent,
  29. portable interface.
  30. This package contains the libtoolize executable.
  31. endef
  32. define Package/libtool-bin/install
  33. $(INSTALL_DIR) $(1)/usr/bin
  34. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libtoolize $(1)/usr/bin/
  35. $(INSTALL_DIR) $(1)/usr/share/aclocal/
  36. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/aclocal/*.m4 \
  37. $(1)/usr/share/aclocal/
  38. $(INSTALL_DIR) $(1)/usr/share/libtool/build-aux/
  39. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/libtool/build-aux/* \
  40. $(1)/usr/share/libtool/build-aux/
  41. endef
  42. $(eval $(call BuildPackage,libtool-bin))