• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/ezxml/ezxml.mk
Peter KorsgaardPeter Korsgaard committed 97c02f65cb109 Dec 2016
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
################################################################################
2
#
3
# ezxml
4
#
5
################################################################################
6
​
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
12
​
13
EZXML_CFLAGS = $(TARGET_CFLAGS)
14
​
15
# mmap code uses madvise which isn't available on nommu uClibc
16
ifeq ($(BR2_USE_MMU),)
17
EZXML_CFLAGS += -D EZXML_NOMMAP
18
endif
19
​
20
define EZXML_BUILD_CMDS
21
    $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -f GNUmakefile \
22
        CC="$(TARGET_CC)" CFLAGS="$(EZXML_CFLAGS)" AR=$(TARGET_AR)
23
endef
24
​
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
28
endef
29
​
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
33
endef
34
​
35
$(eval $(generic-package))
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.