1 ################################################################################
5 ################################################################################
8 EZXML_SITE
= http
://downloads.sourceforge.net
/project
/ezxml
/ezXML
/ezXML
%20$(EZXML_VERSION
)
9 EZXML_INSTALL_STAGING
= YES
11 EZXML_LICENSE_FILES
= license.txt
13 EZXML_CFLAGS
= $(TARGET_CFLAGS
)
15 # mmap code uses madvise which isn't available on nommu uClibc
16 ifeq ($(BR2_USE_MMU
),)
17 EZXML_CFLAGS
+= -D EZXML_NOMMAP
20 define EZXML_BUILD_CMDS
21 $(TARGET_MAKE_ENV
) $(MAKE
) -C
$(@D
) -f GNUmakefile \
22 CC
="$(TARGET_CC)" CFLAGS
="$(EZXML_CFLAGS)" AR
=$(TARGET_AR
)
25 define EZXML_INSTALL_STAGING_CMDS
26 $(INSTALL
) -D
-m
0644 $(@D
)/ezxml.h
$(STAGING_DIR
)/usr
/include/ezxml.h
27 $(INSTALL
) -D
-m
0644 $(@D
)/libezxml.a
$(STAGING_DIR
)/usr
/lib
/libezxml.a
30 define EZXML_INSTALL_TARGET_CMDS
31 $(INSTALL
) -D
-m
0644 $(@D
)/ezxml.h
$(TARGET_DIR
)/usr
/include/ezxml.h
32 $(INSTALL
) -D
-m
0644 $(@D
)/libezxml.a
$(TARGET_DIR
)/usr
/lib
/libezxml.a
35 $(eval
$(generic-package
))