mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 17:04:32 +04:00
gperftools: remove gperftools-headers package
The gperftools-headers package installed headers to the target device, but headers are only needed during the build process (via Build/InstallDev). - Remove gperftools-headers package - Rename gperftools-runtime to gperftools - Add ABI_VERSION for tracking ABI changes While looking for e.g. on repology, there is only gperftools package [1] and not gperftools-runtime and gperftools-headers. [1] https://repology.org/project/gperftools/versions Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This commit is contained in:
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=gperftools
|
PKG_NAME:=gperftools
|
||||||
PKG_VERSION:=2.17.2
|
PKG_VERSION:=2.17.2
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://codeload.github.com/gperftools/gperftools/tar.gz/$(PKG_NAME)-$(PKG_VERSION)?
|
PKG_SOURCE_URL:=https://codeload.github.com/gperftools/gperftools/tar.gz/$(PKG_NAME)-$(PKG_VERSION)?
|
||||||
@@ -21,30 +21,18 @@ PKG_FIXUP:=autoreconf
|
|||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/gperftools-headers
|
define Package/gperftools
|
||||||
CATEGORY:=Libraries
|
|
||||||
SECTION:=libs
|
|
||||||
TITLE:=Gperftools Headers
|
|
||||||
URL:=https://github.com/gperftools/gperftools
|
|
||||||
DEPENDS:= @!(powerpc)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/gperftools-runtime
|
|
||||||
SECTION:=libs
|
SECTION:=libs
|
||||||
CATEGORY:=Libraries
|
CATEGORY:=Libraries
|
||||||
TITLE:=Gperftools Runtime
|
TITLE:=Gperftools Runtime
|
||||||
URL:=https://github.com/gperftools/gperftools
|
URL:=https://github.com/gperftools/gperftools
|
||||||
DEPENDS:=+PACKAGE_libunwind:libunwind +libstdcpp @!(powerpc)
|
DEPENDS:=+PACKAGE_libunwind:libunwind +libstdcpp @!(powerpc)
|
||||||
|
ABI_VERSION:=4
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gperftools-headers/description
|
define Package/gperftools/description
|
||||||
Gperftools is a collection of a high-performance multi-threaded malloc() implementation, plus some pretty nifty performance analysis tools.
|
Gperftools is a collection of a high-performance multi-threaded malloc() implementation, plus some pretty nifty performance analysis tools.
|
||||||
This package contains the headers.
|
This package contains the shared libraries.
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/gperftools-runtime/description
|
|
||||||
Gperftools is a collection of a high-performance multi-threaded malloc() implementation, plus some pretty nifty performance analysis tools.
|
|
||||||
This package contains the shared objects and bins.
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
@@ -59,14 +47,9 @@ define Build/InstallDev
|
|||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/gperftools/*.h $(1)/usr/include/gperftools/
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/gperftools/*.h $(1)/usr/include/gperftools/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gperftools-headers/install
|
define Package/gperftools/install
|
||||||
$(INSTALL_DIR) $(1)/usr/include/gperftools
|
|
||||||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/gperftools/tcmalloc.h $(1)/usr/include/gperftools
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/gperftools-runtime/install
|
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libtcmalloc.so* $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libtcmalloc.so* $(1)/usr/lib/
|
||||||
endef
|
endef
|
||||||
$(eval $(call BuildPackage,gperftools-headers))
|
|
||||||
$(eval $(call BuildPackage,gperftools-runtime))
|
$(eval $(call BuildPackage,gperftools))
|
||||||
|
|||||||
Reference in New Issue
Block a user