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.4 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:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@GNU/libtool
  13. PKG_MD5SUM:=addf44b646ddb4e3919805aa88fa7c5e
  14. PKG_MAINTAINER:=Heinrich Schuchardt <xypron.glpk@gmx.de>
  15. PKG_LICENSE:=GPL-2.0+
  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))