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.gz
15 PKG_SOURCE_URL
:=@GNU
/libtool
16 PKG_MD5SUM
:=addf44b646ddb4e3919805aa88fa7c5e
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 define Package
/libtool-bin
28 TITLE
:=GNU Libtool
- libtoolize
29 URL
:=https
://www.gnu.org
/software
/libtool
/
32 define Package
/libtool-bin
/description
33 GNU libtool is a generic library support script.
34 Libtool hides the complexity of using shared libraries behind a consistent
,
36 This package contains the libtoolize executable.
39 define Package
/libtool-bin
/install
40 $(INSTALL_DIR
) $(1)/usr
/bin
41 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/libtoolize
$(1)/usr
/bin
/
42 $(SED
) 's|$(STAGING_DIR_HOST)||g' $(1)/usr
/bin
/libtoolize
43 $(INSTALL_DIR
) $(1)/usr
/share
/aclocal
/
44 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/share
/aclocal
/*.m4 \
45 $(1)/usr
/share
/aclocal
/
46 $(INSTALL_DIR
) $(1)/usr
/share
/libtool
/build-aux
/
47 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/share
/libtool
/build-aux
/* \
48 $(1)/usr
/share
/libtool
/build-aux
/
51 $(eval
$(call BuildPackage
,libtool-bin
))