1
0

Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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:=2
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  12. PKG_SOURCE_URL:=@GNU/libtool
  13. PKG_MD5SUM:=1bfb9b923f2c1339b4d2ce1807064aa5
  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))