mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
powertop: Switch to uClibc++
Now that the uClibc++ update has been included, we can switch to it. Basic testing shows it as working. Also fixed compilation with uClibc-ng. libiconv-stub must be used as uClibc-ng does not provide those headers. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=powertop
|
PKG_NAME:=powertop
|
||||||
PKG_VERSION:=2.10
|
PKG_VERSION:=2.10
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://01.org/sites/default/files/downloads/
|
PKG_SOURCE_URL:=https://01.org/sites/default/files/downloads/
|
||||||
@@ -22,12 +22,14 @@ PKG_LICENSE:=GPL-2.0
|
|||||||
PKG_BUILD_PARALLEL:=1
|
PKG_BUILD_PARALLEL:=1
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/uclibc++.mk
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
include $(INCLUDE_DIR)/nls.mk
|
||||||
|
|
||||||
define Package/powertop
|
define Package/powertop
|
||||||
SECTION:=utils
|
SECTION:=utils
|
||||||
CATEGORY:=Utilities
|
CATEGORY:=Utilities
|
||||||
DEPENDS:=+libpci +libncursesw +libnl-genl +libstdcpp
|
DEPENDS:=$(CXX_DEPENDS) $(INTL_DEPENDS) +libpci +libncursesw +libnl-genl
|
||||||
TITLE:=Power consumption monitor
|
TITLE:=Power consumption monitor
|
||||||
URL:=https://01.org/powertop
|
URL:=https://01.org/powertop
|
||||||
endef
|
endef
|
||||||
@@ -37,6 +39,8 @@ define Package/powertop/description
|
|||||||
and power management.
|
and power management.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
TARGET_LDFLAGS += $(if $(INTL_FULL),-lintl)
|
||||||
|
|
||||||
define Package/powertop/install
|
define Package/powertop/install
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
$(INSTALL_DIR) $(1)/usr/sbin
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/powertop \
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/powertop \
|
||||||
|
|||||||
Reference in New Issue
Block a user