2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-05-28 17:11:23 +02:00
|
|
|
#
|
|
|
|
# lshw
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-05-28 17:11:23 +02:00
|
|
|
|
2016-07-29 18:54:59 +02:00
|
|
|
LSHW_VERSION = B.02.18
|
2012-05-28 17:11:23 +02:00
|
|
|
LSHW_SITE = http://ezix.org/software/files
|
2017-03-30 15:43:32 +02:00
|
|
|
LSHW_LICENSE = GPL-2.0
|
2014-06-26 21:21:05 +02:00
|
|
|
LSHW_LICENSE_FILES = COPYING
|
2012-11-01 15:36:00 +01:00
|
|
|
|
2014-09-27 21:32:38 +02:00
|
|
|
LSHW_MAKE_OPTS = CC="$(TARGET_CC)" CXX="$(TARGET_CXX)" AR="$(TARGET_AR)" \
|
2017-07-15 13:12:05 +02:00
|
|
|
RPM_OPT_FLAGS="$(TARGET_CFLAGS)" all
|
2016-10-17 18:06:46 +02:00
|
|
|
LSHW_MAKE_ENV = \
|
|
|
|
$(TARGET_MAKE_ENV) \
|
2017-07-03 22:57:18 +02:00
|
|
|
LIBS=$(TARGET_NLS_LIBS)
|
|
|
|
LSHW_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
|
2012-05-28 17:11:23 +02:00
|
|
|
|
|
|
|
define LSHW_BUILD_CMDS
|
2014-09-27 21:32:38 +02:00
|
|
|
$(LSHW_MAKE_ENV) $(MAKE) -C $(@D)/src $(LSHW_MAKE_OPTS)
|
2012-05-28 17:11:23 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define LSHW_INSTALL_TARGET_CMDS
|
|
|
|
$(LSHW_MAKE_ENV) $(MAKE) -C $(@D)/src DESTDIR=$(TARGET_DIR) \
|
2014-09-27 21:32:38 +02:00
|
|
|
$(LSHW_MAKE_OPTS) install
|
2018-01-28 05:43:58 +01:00
|
|
|
$(RM) -rf $(TARGET_DIR)/usr/share/lshw
|
2012-05-28 17:11:23 +02:00
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|