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.

54 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_CPE_ID:=cpe:/a:gnu:libtool
  17. PKG_BUILD_DIR = $(BUILD_DIR)/libtool-bin/$(PKG_NAME)-$(PKG_VERSION)
  18. PKG_INSTALL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. CONFIGURE_VARS += GREP=grep SED=sed
  21. define Package/libtool-bin
  22. SECTION:=devel
  23. CATEGORY:=Development
  24. TITLE:=GNU Libtool - libtoolize
  25. URL:=https://www.gnu.org/software/libtool/
  26. endef
  27. define Package/libtool-bin/description
  28. GNU libtool is a generic library support script.
  29. Libtool hides the complexity of using shared libraries behind a consistent,
  30. portable interface.
  31. This package contains the libtoolize executable.
  32. endef
  33. define Package/libtool-bin/install
  34. $(INSTALL_DIR) $(1)/usr/bin
  35. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libtoolize $(1)/usr/bin/
  36. $(INSTALL_DIR) $(1)/usr/share/aclocal/
  37. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/aclocal/*.m4 \
  38. $(1)/usr/share/aclocal/
  39. $(INSTALL_DIR) $(1)/usr/share/libtool/build-aux/
  40. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/libtool/build-aux/* \
  41. $(1)/usr/share/libtool/build-aux/
  42. endef
  43. $(eval $(call BuildPackage,libtool-bin))