blob: e29a7b522849fcdc0fd986262f7de0e4d38481b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#############################################################
#
# ezxml
#
#############################################################
EZXML_VERSION = 0.8.6
EZXML_SOURCE = ezxml-$(EZXML_VERSION).tar.gz
EZXML_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/ezxml/
EZXML_INSTALL_STAGING=YES
define EZXML_BUILD_CMDS
$(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" AR=$(TARGET_AR) \
-f GNUmakefile -C $(@D)
endef
define EZXML_INSTALL_STAGING_CMDS
cp $(@D)/ezxml.h $(STAGING_DIR)/usr/include
cp $(@D)/libezxml.a $(STAGING_DIR)/usr/lib
endef
define EZXML_CLEAN_CMDS
-$(MAKE) -C $(@D) -f GNUmakefile clean
endef
$(eval $(call GENTARGETS,package,ezxml))
|