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
14 # Copyright 2021 Andreas Wacknitz
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= libcroco
20 COMPONENT_VERSION
= 0.6.13
22 COMPONENT_SUMMARY
= Cascading Style Sheet
(CSS
) parsing and manipulation toolkit
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
25 COMPONENT_ARCHIVE_HASH
= sha256
:767ec234ae7aa684695b3a735548224888132e063f92db585759b422570621d4
26 COMPONENT_ARCHIVE_URL
= https
://download.gnome.org
/sources
/$(COMPONENT_NAME
)/0.6/$(COMPONENT_ARCHIVE
)
27 COMPONENT_PROJECT_URL
= https
://www.gnome.org
28 COMPONENT_LICENSE_FILE
= COPYING
29 COMPONENT_LICENSE
= LGPLv2
30 COMPONENT_FMRI
= library
/libcroco
31 COMPONENT_CLASSIFICATION
= Desktop
(GNOME
)/Libraries
33 include $(WS_MAKE_RULES
)/common.mk
35 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
36 CONFIGURE_OPTIONS
+= --enable-static
=no
37 CONFIGURE_OPTIONS
+= --disable-Bsymbolic
38 CONFIGURE_OPTIONS
+= --disable-static
39 CONFIGURE_OPTIONS
+= --disable-dependency-tracking
41 # Needed to make tests work
42 # Tests fail because of poor quality
43 COMPONENT_TEST_ENV
+= PATH
="$(PATH.gnu)"
44 COMPONENT_TEST_TARGETS
= test
46 # Auto-generated dependencies
47 REQUIRED_PACKAGES
+= library
/glib2
48 REQUIRED_PACKAGES
+= library
/libxml2
49 REQUIRED_PACKAGES
+= shell/ksh93
50 REQUIRED_PACKAGES
+= system
/library