1 ################################################################################
5 ################################################################################
8 LSHW_SITE
= http
://ezix.org
/software
/files
10 LSHW_LICENSE_FILES
= COPYING
12 LSHW_CFLAGS
= $(TARGET_CFLAGS
)
13 ifeq ($(BR2_ENABLE_LOCALE
),)
14 LSHW_CFLAGS
+= -DNONLS
17 LSHW_MAKE_OPTS
= CC
="$(TARGET_CC)" CXX
="$(TARGET_CXX)" AR
="$(TARGET_AR)" \
18 RPM_OPT_FLAGS
="$(LSHW_CFLAGS)" all
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
)
28 define LSHW_INSTALL_TARGET_CMDS
29 $(LSHW_MAKE_ENV
) $(MAKE
) -C
$(@D
)/src DESTDIR
=$(TARGET_DIR
) \
30 $(LSHW_MAKE_OPTS
) install
33 $(eval
$(generic-package
))