Gary Mills
2021-06-13 fab211f4756e62c7db4c4a3252d20ca5339b02c4
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
GM 16 BUILD_BITS=        64
576329 17
0e345d 18 include ../../../make-rules/shared-macros.mk
576329 19
AP 20 COMPONENT_NAME=        gtk-doc
fab211 21 COMPONENT_MAJOR_VERSION=        1.33
GM 22 COMPONENT_MINOR_VERSION=        2
23 COMPONENT_VERSION=      $(COMPONENT_MAJOR_VERSION).$(COMPONENT_MINOR_VERSION)
24 # COMPONENT_REVISION=    0
576329 25 COMPONENT_PROJECT_URL=    http://www.gtk.org/gtk-doc/
AP 26 COMPONENT_SUMMARY=    GTK+ DocBook Documentation Generator
27 COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
28 COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.xz
29 COMPONENT_ARCHIVE_HASH=    \
fab211 30     sha256:cc1b709a20eb030a278a1f9842a362e00402b7f834ae1df4c1998a723152bf43
GM 31 COMPONENT_ARCHIVE_URL=    http://ftp.gnome.org/pub/GNOME/sources/$(COMPONENT_NAME)/$(COMPONENT_MAJOR_VERSION)/$(COMPONENT_ARCHIVE)
576329 32
fab211 33 # Set python version used by this product
GM 34 PYTHON_VERSION=        3.7
35
36 # The built-in tests assume the package has already been installed
37 TEST_TARGET=        $(NO_TESTS)
38
39 include $(WS_MAKE_RULES)/common.mk
0e345d 40
1248bd 41 PATH=$(PATH.gnu)
576329 42
fab211 43 # Build configure script
GM 44 COMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv)
45
46 CONFIGURE_OPTIONS+=    --bindir=$(USRBINDIR)
47 CONFIGURE_OPTIONS+=    --sbindir=$(USRSBINDIR)
48 CONFIGURE_OPTIONS+=    --sysconfdir=$(ETCDIR)
576329 49 CONFIGURE_ENV+=        PYTHON=$(PYTHON)
ba1579 50 CONFIGURE_ENV+=        PERL=$(PERL)
576329 51
1248bd 52 # Auto-generated dependencies
AL 53 REQUIRED_PACKAGES += text/itstool
54
55 # Auto-generated dependencies
0e345d 56 REQUIRED_PACKAGES += SUNWcs
AP 57 REQUIRED_PACKAGES += runtime/perl-522
fab211 58 REQUIRED_PACKAGES += runtime/python-37