commit | author | age
|
506c23
|
1 |
# |
P |
2 |
# This file and its contents are supplied under the terms of the |
|
3 |
# Common Development and Distribution License ("CDDL"), version 1.0. |
|
4 |
# You may only use this file in accordance with the terms of version |
|
5 |
# 1.0 of the CDDL. |
|
6 |
# |
|
7 |
# A full copy of the text of the CDDL should have accompanied this |
|
8 |
# source. A copy of the CDDL is also available via the Internet at |
|
9 |
# http://www.illumos.org/license/CDDL. |
|
10 |
# |
|
11 |
|
|
12 |
# |
|
13 |
# Copyright 2016 phorcys@126.com. All rights reserved. |
|
14 |
# |
|
15 |
|
|
16 |
include ../../../make-rules/shared-macros.mk |
|
17 |
|
|
18 |
COMPONENT_NAME= tinyxml |
|
19 |
COMPONENT_VERSION= 2.6.2 |
|
20 |
COMPONENT_FMRI = library/tinyxml |
|
21 |
COMPONENT_CLASSIFICATION = System/Libraries |
|
22 |
COMPONENT_PROJECT_URL = http://sourceforge.net/projects/tinyxml/ |
|
23 |
COMPONENT_SUMMARY= TinyXML is a simple, small, minimal, C++ XML parser that can be easily integrating into other programs. |
|
24 |
COMPONENT_SRC= $(COMPONENT_NAME) |
|
25 |
COMPONENT_SRC_VERSION= $(shell echo $(COMPONENT_VERSION) | $(GSED) -e 's/\./_/g') |
|
26 |
COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz |
|
27 |
COMPONENT_ARCHIVE_HASH= \ |
|
28 |
sha256:15bdfdcec58a7da30adc87ac2b078e4417dbe5392f3afb719f9ba6d062645593 |
|
29 |
COMPONENT_ARCHIVE_URL= \ |
|
30 |
http://downloads.sourceforge.net/project/tinyxml/tinyxml/$(COMPONENT_VERSION)/$(COMPONENT_NAME)_$(COMPONENT_SRC_VERSION).tar.gz |
|
31 |
COMPONENT_LICENSE = zlib/libpng License |
|
32 |
|
|
33 |
include $(WS_TOP)/make-rules/prep.mk |
|
34 |
include $(WS_TOP)/make-rules/configure.mk |
|
35 |
include $(WS_TOP)/make-rules/ips.mk |
|
36 |
|
|
37 |
COMPONENT_PREP_ACTION= \ |
|
38 |
( cd $(@D) && \ |
|
39 |
$(TOUCH) INSTALL NEWS README AUTHORS ChangeLog && \ |
|
40 |
libtoolize && aclocal && autoconf && automake --add-missing ) |
|
41 |
|
|
42 |
CONFIGURE_OPTIONS+= --disable-static |
|
43 |
|
|
44 |
COMPONENT_POST_INSTALL_ACTION= \ |
|
45 |
( $(GSED) -e "s:%LIBDIR%:$(CONFIGURE_LIBDIR.$(BITS)):g" \ |
|
46 |
-e "s:%VERSION%:$(COMPONENT_VERSION):g" \ |
|
47 |
$(SOURCE_DIR)/tinyxml.pc > $(BUILD_DIR)/tinyxml.pc.$(BITS) ) |
|
48 |
|
|
49 |
build: $(BUILD_32_and_64) |
|
50 |
|
|
51 |
install: $(INSTALL_32_and_64) |
|
52 |
|
|
53 |
test: $(NO_TESTS) |
|
54 |
|
|
55 |
REQUIRED_PACKAGES += system/library |
f5010f
|
56 |
REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG) |
969846
|
57 |
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG) |