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 2016 Alexander Pyhalov
15 include ..
/..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_NAME
= gnome-doc-utils
18 COMPONENT_VERSION
= 0.20.10
20 COMPONENT_SUMMARY
= Documentation utilities for GNOME
21 COMPONENT_PROJECT_URL
= https
://www.gnome.org
22 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
24 COMPONENT_ARCHIVE_HASH
= sha256
:cb0639ffa9550b6ddf3b62f3b1add92fb92ab4690d351f2353cffe668be8c4a6
25 COMPONENT_ARCHIVE_URL
= https
://download.gnome.org
/sources
/$(COMPONENT_NAME
)/0.20/$(COMPONENT_ARCHIVE
)
26 COMPONENT_FMRI
= developer
/gnome
/gnome-doc-utils
27 COMPONENT_CLASSIFICATION
= Development
/GNOME and GTK
+
28 COMPONENT_LICENSE
= GPLv2
, LGPLv2
30 TEST_TARGET
= $(NO_TESTS
)
31 include $(WS_MAKE_RULES
)/common.mk
35 # Missing files in build dir for xml2po without this.
36 COMPONENT_PRE_CONFIGURE_ACTION
= ($(CLONEY
) $(SOURCE_DIR
) $(@D
))
38 COMPONENT_BUILD_ARGS
+= V
=1
40 # Move Python modules from site-packages directory to vendor-packages directory
41 COMPONENT_POST_INSTALL_ACTION
+= \
42 $(MV
) $(PROTO_DIR
)/$(PYTHON_DIR
)/site-packages
$(PROTO_DIR
)/$(PYTHON_LIB
) ;
44 PYTHON_SCRIPTS
+= usr
/bin
/xml2po
46 # Auto-generated dependencies
47 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
48 REQUIRED_PACKAGES
+= shell/bash
49 REQUIRED_PACKAGES
+= shell/ksh93