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
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.
13 # Copyright 2014 Alexander Pyhalov. All rights reserved.
14 # Copyright 2019 Nona Hansel
17 USE_DEFAULT_TEST_TRANSFORMS
= yes
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= rarian
21 COMPONENT_VERSION
= 0.8.6
22 COMPONENT_SUMMARY
= Documentation meta-data library
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
25 COMPONENT_ARCHIVE_HASH
= sha256
:2dcb9a421e084511d654aa8803807ddd56560747ac37ab2fe7d84270b94084ed
26 COMPONENT_ARCHIVE_URL
= https
://gitlab.freedesktop.org
/$(COMPONENT_NAME
)/$(COMPONENT_NAME
)/-/archive
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
27 COMPONENT_PROJECT_URL
= https
://rarian.freedesktop.org
28 COMPONENT_FMRI
= text
/rarian
29 COMPONENT_CLASSIFICATION
= Desktop
(GNOME
)/Libraries
30 COMPONENT_LICENSE
= LGPL-2.1
-or-later AND GPL-2.0
-or-later
32 include $(WS_MAKE_RULES
)/common.mk
35 update-license-file
: patch
37 $(CAT
) $(SOURCE_DIR
)/COPYING
; \
38 printf
'\n--- COPYING.LIB -----------------------------------------------------------\n\n' ; \
39 $(CAT
) $(SOURCE_DIR
)/COPYING.LIB
; \
40 printf
'\n--- COPYING.UTILS ---------------------------------------------------------\n\n' ; \
41 $(CAT
) $(SOURCE_DIR
)/COPYING.UTILS \
42 ) > $(COMPONENT_DIR
)/$(COMPONENT_LICENSE_FILE
)
44 # The configure file is not distributed
45 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && $(ENV
) PATH
="$(PATH)" NOCONFIGURE
=1 .
/autogen.sh
)
47 CONFIGURE_OPTIONS
+= --disable-skdb-update
48 CONFIGURE_OPTIONS
+= --disable-static
50 # Auto-generated dependencies
51 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
52 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
53 REQUIRED_PACKAGES
+= library
/tinyxml2
54 REQUIRED_PACKAGES
+= shell/bash
55 REQUIRED_PACKAGES
+= shell/ksh93
56 REQUIRED_PACKAGES
+= system
/library