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.

51 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. define Package/libtool-bin
  20. SECTION:=devel
  21. CATEGORY:=Development
  22. TITLE:=GNU Libtool - libtoolize
  23. URL:=https://www.gnu.org/software/libtool/
  24. endef
  25. define Package/libtool-bin/description
  26. GNU libtool is a generic library support script.
  27. Libtool hides the complexity of using shared libraries behind a consistent,
  28. portable interface.
  29. This package contains the libtoolize executable.
  30. endef
  31. define Package/libtool-bin/install
  32. $(INSTALL_DIR) $(1)/usr/bin
  33. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libtoolize $(1)/usr/bin/
  34. $(SED) 's|$(STAGING_DIR_HOST)||g' $(1)/usr/bin/libtoolize
  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))