blob: 9b52b091675c595b62b8a2ab3599685f47f2c495 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
################################################################################
#
# lshw
#
################################################################################
LSHW_VERSION = B.02.18
LSHW_SITE = http://ezix.org/software/files
LSHW_LICENSE = GPL-2.0
LSHW_LICENSE_FILES = COPYING
LSHW_MAKE_OPTS = CC="$(TARGET_CC)" CXX="$(TARGET_CXX)" AR="$(TARGET_AR)" \
RPM_OPT_FLAGS="$(TARGET_CFLAGS)" all
LSHW_MAKE_ENV = \
$(TARGET_MAKE_ENV) \
LIBS=$(TARGET_NLS_LIBS)
LSHW_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
define LSHW_BUILD_CMDS
$(LSHW_MAKE_ENV) $(MAKE) -C $(@D)/src $(LSHW_MAKE_OPTS)
endef
define LSHW_INSTALL_TARGET_CMDS
$(LSHW_MAKE_ENV) $(MAKE) -C $(@D)/src DESTDIR=$(TARGET_DIR) \
$(LSHW_MAKE_OPTS) install
endef
$(eval $(generic-package))
|