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_HASH
:=7c87a8c2c8c0fc9cd5019e402bed4292462d00a718a7cd5f11218153bf28b26f
17 PKG_MAINTAINER
:=Heinrich Schuchardt
<xypron.glpk@gmx.de
>
18 PKG_LICENSE
:=GPL-2.0
-or-later
19 PKG_CPE_ID
:=cpe
:/a
:gnu
:libtool
21 PKG_BUILD_DIR
= $(BUILD_DIR
)/libtool-bin
/$(PKG_NAME
)-$(PKG_VERSION
)
25 include $(INCLUDE_DIR
)/package.mk
27 CONFIGURE_VARS
+= GREP
=grep SED
=sed
29 define Package
/libtool-bin
32 TITLE
:=GNU Libtool
- libtoolize
33 URL
:=https
://www.gnu.org
/software
/libtool
/
36 define Package
/libtool-bin
/description
37 GNU libtool is a generic library support script.
38 Libtool hides the complexity of using shared libraries behind a consistent
,
40 This package contains the libtoolize executable.
43 define Package
/libtool-bin
/install
44 $(INSTALL_DIR
) $(1)/usr
/bin
45 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/libtoolize
$(1)/usr
/bin
/
46 $(INSTALL_DIR
) $(1)/usr
/share
/aclocal
/
47 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/share
/aclocal
/*.m4 \
48 $(1)/usr
/share
/aclocal
/
49 $(INSTALL_DIR
) $(1)/usr
/share
/libtool
/build-aux
/
50 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/share
/libtool
/build-aux
/* \
51 $(1)/usr
/share
/libtool
/build-aux
/
54 $(eval
$(call BuildPackage
,libtool-bin
))