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 2015 Alexander Pyhalov
14 # Copyright 2019 Nona Hansel
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= pangox-compat
22 COMPONENT_VERSION
= 0.0.2
24 COMPONENT_SUMMARY
= Compatibility package for applications using pangox
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
27 COMPONENT_ARCHIVE_HASH
= \
28 sha256
:552092b3b6c23f47f4beee05495d0f9a153781f62a1c4b7ec53857a37dfce046
29 COMPONENT_ARCHIVE_URL
= \
30 https
://download.gnome.org
/sources
/$(COMPONENT_NAME
)/0.0/$(COMPONENT_ARCHIVE
)
31 COMPONENT_PROJECT_URL
= http
://www.gnome.org
32 COMPONENT_FMRI
= library
/desktop
/pangox-compat
33 COMPONENT_CLASSIFICATION
=Desktop
(GNOME
)/Libraries
34 COMPONENT_LICENSE
= LGPLv2
35 COMPONENT_LICENSE_FILE
= COPYING
37 include $(WS_MAKE_RULES
)/common.mk
41 CONFIGURE_OPTIONS
.32 = -sysconfdir
=/etc
42 CONFIGURE_OPTIONS
.64 = -sysconfdir
=/etc
/$(MACH64
)
43 CONFIGURE_OPTIONS
+= $(CONFIGURE_OPTIONS.
$(BITS
))
45 COMPONENT_BUILD_ENV
+= CC
="$(CC)"
46 COMPONENT_BUILD_ENV
+= CFLAGS
="$(CFLAGS)"
48 # Auto-generated dependencies
49 REQUIRED_PACKAGES
+= library
/desktop
/pango
50 REQUIRED_PACKAGES
+= library
/glib2
51 REQUIRED_PACKAGES
+= system
/library
52 REQUIRED_PACKAGES
+= x11
/library
/libx11