treewide: add PKG_CPE_ID for better cvescanner coverage
[feed/packages.git] / devel / libtool-bin / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=libtool
11 PKG_VERSION:=2.4.6
12 PKG_RELEASE:=3
13
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
20
21 PKG_BUILD_DIR = $(BUILD_DIR)/libtool-bin/$(PKG_NAME)-$(PKG_VERSION)
22
23 PKG_INSTALL:=1
24
25 include $(INCLUDE_DIR)/package.mk
26
27 CONFIGURE_VARS += GREP=grep SED=sed
28
29 define Package/libtool-bin
30 SECTION:=devel
31 CATEGORY:=Development
32 TITLE:=GNU Libtool - libtoolize
33 URL:=https://www.gnu.org/software/libtool/
34 endef
35
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,
39 portable interface.
40 This package contains the libtoolize executable.
41 endef
42
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/
52 endef
53
54 $(eval $(call BuildPackage,libtool-bin))