1 ################################################################################
5 ################################################################################
7 IRDA_UTILS_VERSION
= 0.9.18
8 IRDA_UTILS_SITE
= http
://downloads.sourceforge.net
/project
/irda
/irda-utils
/$(IRDA_UTILS_VERSION
)
9 IRDA_UTILS_LICENSE
= GPLv2
+
10 IRDA_UTILS_LICENSE_FILES
= man
/COPYING
12 IRDA_UTILS_CFLAGS
= $(TARGET_CFLAGS
) -I.
13 ifeq ($(BR2_USE_MMU
),)
14 IRDA_UTILS_CFLAGS
+= -DNO_FORK
=1
17 define IRDA_UTILS_BUILD_CMDS
18 $(TARGET_MAKE_ENV
) $(MAKE
) \
20 CFLAGS
="$(IRDA_UTILS_CFLAGS)" \
22 DIRS
="irattach irdaping irnetd" \
28 IRDA_UTILS_SBINS-
$(BR2_PACKAGE_IRDA_UTILS_IRATTACH
) += irattach
29 IRDA_UTILS_SBINS-
$(BR2_PACKAGE_IRDA_UTILS_IRDAPING
) += irdaping
30 IRDA_UTILS_SBINS-
$(BR2_PACKAGE_IRDA_UTILS_IRNETD
) += irnetd
31 IRDA_UTILS_SBINS-
+= $(IRDA_UTILS_SBINS-y
)
33 define IRDA_UTILS_INSTALL_TARGET_CMDS
34 for i in
$(IRDA_UTILS_SBINS-y
); do \
35 $(INSTALL
) -m
0755 -D
$(@D
)/$$i/$$i $(TARGET_DIR
)/usr
/sbin
/$$i || exit
1; \
39 $(eval
$(generic-package
))