1 ################################################################################
5 ################################################################################
7 LIBHTTPPARSER_VERSION
= v2.6
.0
8 LIBHTTPPARSER_SITE
= $(call github
,nodejs
,http-parser
,$(LIBHTTPPARSER_VERSION
))
9 LIBHTTPPARSER_INSTALL_STAGING
= YES
10 LIBHTTPPARSER_LICENSE
= MIT
11 LIBHTTPPARSER_LICENSE_FILES
= LICENSE-MIT
13 define LIBHTTPPARSER_BUILD_CMDS
14 $(MAKE
) $(TARGET_CONFIGURE_OPTS
) -C
$(@D
) library package
17 define LIBHTTPPARSER_INSTALL_STAGING_CMDS
18 $(MAKE
) $(TARGET_CONFIGURE_OPTS
) -C
$(@D
) PREFIX
=$(STAGING_DIR
)/usr
install
19 $(INSTALL
) -D
-m
0644 $(@D
)/libhttp_parser.a
$(STAGING_DIR
)/usr
/lib
/libhttp_parser.a
22 define LIBHTTPPARSER_INSTALL_TARGET_CMDS
23 $(MAKE
) $(TARGET_CONFIGURE_OPTS
) -C
$(@D
) PREFIX
=$(TARGET_DIR
)/usr
install
26 $(eval
$(generic-package
))