2 # Copyright (C) 2016 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
15 PKG_SOURCE_URL:=@GNU/libtool
16 PKG_MD5SUM:=1bfb9b923f2c1339b4d2ce1807064aa5
17 PKG_MAINTAINER:=Heinrich Schuchardt <xypron.glpk@gmx.de>
19 PKG_BUILD_DIR = $(BUILD_DIR)/libtool-bin/$(PKG_NAME)-$(PKG_VERSION)
23 include $(INCLUDE_DIR)/package.mk
25 CONFIGURE_VARS += GREP=grep SED=sed
27 define Package/libtool-bin
30 TITLE:=GNU Libtool - libtoolize
31 URL:=https://www.gnu.org/software/libtool/
34 define Package/libtool-bin/description
35 GNU libtool is a generic library support script.
36 Libtool hides the complexity of using shared libraries behind a consistent,
38 This package contains the libtoolize executable.
41 define Package/libtool-bin/install
42 $(INSTALL_DIR) $(1)/usr/bin
43 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/libtoolize $(1)/usr/bin/
44 $(INSTALL_DIR) $(1)/usr/share/aclocal/
45 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/aclocal/*.m4 \
46 $(1)/usr/share/aclocal/
47 $(INSTALL_DIR) $(1)/usr/share/libtool/build-aux/
48 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/libtool/build-aux/* \
49 $(1)/usr/share/libtool/build-aux/
52 $(eval $(call BuildPackage,libtool-bin))