2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright (c) 2017 Dariusz Sendkowski
15 include ..
/..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_NAME
= libxdg-basedir
18 COMPONENT_VERSION
= 1.2.3
19 COMPONENT_PROJECT_URL
= https
://github.com
/devnev
/$(COMPONENT_NAME
)
20 COMPONENT_SUMMARY
= An implementation of the XDG Base Directory specifications.
21 COMPONENT_FMRI
= library
/xdg
/libxdg-basedir
22 COMPONENT_CLASSIFICATION
=Applications
/System Utilities
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
).
tar.gz
25 COMPONENT_ARCHIVE_HASH
= sha256
:ff30c60161f7043df4dcc6e7cdea8e064e382aa06c73dcc3d1885c7d2c77451d
26 COMPONENT_ARCHIVE_URL
= https
://github.com
/devnev
/$(COMPONENT_NAME
)/archive
/$(COMPONENT_ARCHIVE
)
27 COMPONENT_LICENSE
= MIT
28 COMPONENT_LICENSE_FILE
= COPYING
30 #TEST_TARGET= $(NO_TESTS)
31 include $(WS_MAKE_RULES
)/common.mk
33 COMPONENT_PREP_ACTION
= (cd
$(@D
) && autoreconf
-f
-i
)
35 # Tests will fail without unexport SHELLOPTS
38 COMPONENT_TEST_TRANSFORMS
+= \
46 '-e "/^Testsuite/p" ' \
50 COMPONENT_TEST_MASTER
= $(COMPONENT_TEST_RESULTS_DIR
)/results-all.master
52 # Auto-generated dependencies
53 REQUIRED_PACKAGES
+= system
/library