David Stes
2024-03-31 8cdd197ba643eb2608c5aab87567625bb9336cee
commit | author | age
576329 1 #
AP 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.
5 #
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.
9 #
10
11 #
fab211 12 # Copyright 2021 Gary Mills
0e345d 13 # Copyright 2016 Alexander Pyhalov
576329 14 #
fab211 15
0e345d 16 include ../../../make-rules/shared-macros.mk
576329 17
AP 18 COMPONENT_NAME=        gtk-doc
99e276 19 COMPONENT_MAJOR_VERSION=        1.34
AW 20 COMPONENT_MINOR_VERSION=        0
fab211 21 COMPONENT_VERSION=      $(COMPONENT_MAJOR_VERSION).$(COMPONENT_MINOR_VERSION)
9ccefc 22 COMPONENT_PROJECT_URL=    https://gitlab.gnome.org/GNOME/gtk-doc
576329 23 COMPONENT_SUMMARY=    GTK+ DocBook Documentation Generator
AP 24 COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
25 COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.xz
99e276 26 COMPONENT_ARCHIVE_HASH=    sha256:b20b72b32a80bc18c7f975c9d4c16460c2276566a0b50f87d6852dff3aa7861c
b7ef23 27 COMPONENT_ARCHIVE_URL=    https://download.gnome.org/sources/$(COMPONENT_NAME)/$(COMPONENT_MAJOR_VERSION)/$(COMPONENT_ARCHIVE)
719e5a 28 COMPONENT_FMRI=        developer/documentation-tool/gtk-doc
MT 29 COMPONENT_CLASSIFICATION=    Desktop (GNOME)/Libraries
30 COMPONENT_LICENSE=    GPLv3, FDLv1.1
fab211 31
GM 32 # The built-in tests assume the package has already been installed
99e276 33 TEST_TARGET= $(NO_TESTS)
fab211 34
GM 35 include $(WS_MAKE_RULES)/common.mk
0e345d 36
99e276 37 PATH= $(PATH.gnu)
576329 38
fab211 39 # Build configure script
99e276 40 COMPONENT_PREP_ACTION += ( cd $(@D); PATH="$(PATH)" autoreconf -fiv )
fab211 41
99e276 42 CONFIGURE_OPTIONS +=--bindir=$(USRBINDIR)
AW 43 CONFIGURE_OPTIONS +=--sbindir=$(USRSBINDIR)
44 CONFIGURE_OPTIONS +=--sysconfdir=$(ETCDIR)
45
46 CONFIGURE_ENV += PYTHON=$(PYTHON)
576329 47
719e5a 48 # Manually added build and runtime dependencies
5f4c81 49 REQUIRED_PACKAGES += text/itstool
9ccefc 50 PYTHON_REQUIRED_PACKAGES += library/python/pygments
cfb931 51
MT 52 # Auto-generated dependencies
719e5a 53 PYTHON_REQUIRED_PACKAGES += runtime/python
MT 54 REQUIRED_PACKAGES += shell/ksh93