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 2017 Alexander Pyhalov
17 USE_DEFAULT_TEST_TRANSFORMS
= yes
18 USE_COMMON_TEST_MASTER
= no
19 include ..
/..
/..
/make-rules
/shared-macros.mk
22 COMPONENT_VERSION
= 0.8.1
24 COMPONENT_SUMMARY
= A library designed to make it easier to access web services that claim to be
'RESTful'
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
27 COMPONENT_ARCHIVE_HASH
= sha256
:0513aad38e5d3cedd4ae3c551634e3be1b9baaa79775e53b2dba9456f15b01c9
28 COMPONENT_ARCHIVE_URL
= https
://download.gnome.org
/sources
/$(COMPONENT_NAME
)/0.8/$(COMPONENT_ARCHIVE
)
29 COMPONENT_PROJECT_URL
= https
://wiki.gnome.org
/Projects
/Librest
30 COMPONENT_FMRI
= library
/desktop
/librest
31 COMPONENT_CLASSIFICATION
= Desktop
(GNOME
)/Libraries
32 COMPONENT_LICENSE
= LGPLv2.1
33 COMPONENT_LICENSE_FILE
= COPYING
35 include $(WS_MAKE_RULES
)/common.mk
39 CONFIGURE_OPTIONS
+= --with-ca-certificates
=/etc
/certs
/ca-certificates.crt
40 CONFIGURE_OPTIONS
.64 += --enable-introspection
42 # gobject introspection
43 COMPONENT_BUILD_ENV
+= CC
="$(CC)"
44 COMPONENT_BUILD_ENV
+= CFLAGS
="$(CFLAGS)"
49 COMPONENT_TEST_ARGS
= -k
-i
51 # Manually added dependency
52 REQUIRED_PACKAGES
+= developer
/documentation-tool
/gtk-doc
54 # Auto-generated dependencies
55 REQUIRED_PACKAGES
+= library
/glib2
56 REQUIRED_PACKAGES
+= library
/libsoup
57 REQUIRED_PACKAGES
+= library
/libxml2
58 REQUIRED_PACKAGES
+= system
/library