Initial Commit
- initial default booting image
This commit is contained in:
17
package/hddtemp/Config.in
Normal file
17
package/hddtemp/Config.in
Normal file
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_HDDTEMP
|
||||
bool "hddtemp"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on !BR2_STATIC_LIBS
|
||||
select BR2_PACKAGE_LIBEXECINFO if !BR2_TOOLCHAIN_USES_GLIBC
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
help
|
||||
hddtemp is a small utility that gives you the temperature of
|
||||
your hard drive by reading S.M.A.R.T. information, for drives
|
||||
that support this feature.
|
||||
|
||||
https://github.com/vitlav/hddtemp
|
||||
http://www.guzu.net/linux/hddtemp.php
|
||||
|
||||
comment "hddtemp needs dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_STATIC_LIBS
|
||||
3
package/hddtemp/hddtemp.hash
Normal file
3
package/hddtemp/hddtemp.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 e4a60223fdec5adcbf4cf6d2fe5c4a5c2eef256c7b89f8deab0e921a1f631daa hddtemp-0.4.4.tar.gz
|
||||
sha256 e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4 GPL-2
|
||||
36
package/hddtemp/hddtemp.mk
Normal file
36
package/hddtemp/hddtemp.mk
Normal file
@@ -0,0 +1,36 @@
|
||||
################################################################################
|
||||
#
|
||||
# hddtemp
|
||||
#
|
||||
################################################################################
|
||||
|
||||
HDDTEMP_VERSION = 0.4.4
|
||||
HDDTEMP_SITE = $(call github,vitlav,hddtemp,v$(HDDTEMP_VERSION))
|
||||
HDDTEMP_LICENSE = GPLv2
|
||||
HDDTEMP_LICENSE_FILES = GPL-2
|
||||
|
||||
# Fetched from Github with no configure script
|
||||
HDDTEMP_AUTORECONF = YES
|
||||
HDDTEMP_AUTOPOINT = YES
|
||||
|
||||
HDDTEMP_DB_PATH = /usr/share/misc/hddtemp.db
|
||||
HDDTEMP_CONF_OPTS = --with-db-path=$(HDDTEMP_DB_PATH)
|
||||
HDDTEMP_CONF_ENV = LIBS="$(HDDTEMP_LIBS) $(TARGET_NLS_LIBS)"
|
||||
HDDTEMP_DEPENDENCIES += $(TARGET_NLS_DEPENDENCIES)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBEXECINFO),y)
|
||||
HDDTEMP_DEPENDENCIES += libexecinfo
|
||||
HDDTEMP_LIBS += -lexecinfo
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
||||
HDDTEMP_DEPENDENCIES += libiconv
|
||||
HDDTEMP_LIBS += -liconv
|
||||
endif
|
||||
|
||||
define HDDTEMP_INSTALL_HDDTEMP_DB
|
||||
$(INSTALL) -D $(@D)/data/hddtemp.db $(TARGET_DIR)$(HDDTEMP_DB_PATH)
|
||||
endef
|
||||
HDDTEMP_POST_INSTALL_TARGET_HOOKS += HDDTEMP_INSTALL_HDDTEMP_DB
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user