website: update Free Electrons logo
[buildroot-gz.git] / package / ezxml / ezxml.mk
blob769346605dad430511d3fc7466d6099a42d6a536
1 ################################################################################
3 # ezxml
5 ################################################################################
7 EZXML_VERSION = 0.8.6
8 EZXML_SITE = http://downloads.sourceforge.net/project/ezxml/ezXML/ezXML%20$(EZXML_VERSION)
9 EZXML_INSTALL_STAGING = YES
10 EZXML_LICENSE = MIT
11 EZXML_LICENSE_FILES = license.txt
13 define EZXML_BUILD_CMDS
14 $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" AR=$(TARGET_AR) \
15 -f GNUmakefile -C $(@D)
16 endef
18 define EZXML_INSTALL_STAGING_CMDS
19 $(INSTALL) -D -m 0644 $(@D)/ezxml.h $(STAGING_DIR)/usr/include/ezxml.h
20 $(INSTALL) -D -m 0644 $(@D)/libezxml.a $(STAGING_DIR)/usr/lib/libezxml.a
21 endef
23 define EZXML_INSTALL_TARGET_CMDS
24 $(INSTALL) -D -m 0644 $(@D)/ezxml.h $(TARGET_DIR)/usr/include/ezxml.h
25 $(INSTALL) -D -m 0644 $(@D)/libezxml.a $(TARGET_DIR)/usr/lib/libezxml.a
26 endef
28 $(eval $(generic-package))