memcached: bump version to 1.4.36
[buildroot-gz.git] / package / lshw / lshw.mk
blob32c0bc0d69dcc86b60286882e93582fc6b78def9
1 ################################################################################
3 # lshw
5 ################################################################################
7 LSHW_VERSION = B.02.18
8 LSHW_SITE = http://ezix.org/software/files
9 LSHW_LICENSE = GPLv2
10 LSHW_LICENSE_FILES = COPYING
12 LSHW_CFLAGS = $(TARGET_CFLAGS)
13 ifeq ($(BR2_ENABLE_LOCALE),)
14 LSHW_CFLAGS += -DNONLS
15 endif
17 LSHW_MAKE_OPTS = CC="$(TARGET_CC)" CXX="$(TARGET_CXX)" AR="$(TARGET_AR)" \
18 RPM_OPT_FLAGS="$(LSHW_CFLAGS)" all
19 LSHW_MAKE_ENV = \
20 $(TARGET_MAKE_ENV) \
21 LIBS="$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),-lintl)"
22 LSHW_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
24 define LSHW_BUILD_CMDS
25 $(LSHW_MAKE_ENV) $(MAKE) -C $(@D)/src $(LSHW_MAKE_OPTS)
26 endef
28 define LSHW_INSTALL_TARGET_CMDS
29 $(LSHW_MAKE_ENV) $(MAKE) -C $(@D)/src DESTDIR=$(TARGET_DIR) \
30 $(LSHW_MAKE_OPTS) install
31 endef
33 $(eval $(generic-package))