Marcel Telka
2022-01-31 b7ef23180b8258d99f0990e953e0eddbaaab32a5
commit | author | age
758e14 1 #
AP 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
5 # 1.0 of the CDDL.
6 #
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.
10 #
11
12 #
26125a 13 # Copyright 2017 Alexander Pyhalov
3827b2 14 # Copyright 2021 Andreas Wacknitz
758e14 15 #
AP 16
3827b2 17 BUILD_BITS= 32_and_64
26125a 18 include ../../../make-rules/shared-macros.mk
758e14 19
AP 20 COMPONENT_NAME= libcroco
3827b2 21 COMPONENT_VERSION= 0.6.13
758e14 22 COMPONENT_SUMMARY= Cascading Style Sheet (CSS) parsing and manipulation toolkit
AP 23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
3827b2 25 COMPONENT_ARCHIVE_HASH=    sha256:767ec234ae7aa684695b3a735548224888132e063f92db585759b422570621d4
b7ef23 26 COMPONENT_ARCHIVE_URL=    https://download.gnome.org/sources/$(COMPONENT_NAME)/0.6/$(COMPONENT_ARCHIVE)
3827b2 27 COMPONENT_PROJECT_URL=    https://www.gnome.org
AW 28 COMPONENT_LICENSE_FILE= COPYING
29 COMPONENT_LICENSE=        LGPLv2
30 COMPONENT_FMRI=            library/libcroco
758e14 31 COMPONENT_CLASSIFICATION = Desktop (GNOME)/Libraries
AP 32
3827b2 33 include $(WS_MAKE_RULES)/common.mk
758e14 34
AP 35 CONFIGURE_OPTIONS += --sysconfdir=/etc
36 CONFIGURE_OPTIONS += --enable-static=no
37 CONFIGURE_OPTIONS += --disable-Bsymbolic
26125a 38 CONFIGURE_OPTIONS += --disable-static
3827b2 39 CONFIGURE_OPTIONS += --disable-dependency-tracking
26125a 40
AP 41 # Needed to make tests work
3827b2 42 # Tests fail because of poor quality
AW 43 COMPONENT_TEST_ENV += PATH="$(PATH.gnu)"
26125a 44 COMPONENT_TEST_TARGETS = test
758e14 45
3827b2 46 # Auto-generated dependencies
26125a 47 REQUIRED_PACKAGES += library/glib2
AP 48 REQUIRED_PACKAGES += library/libxml2
3827b2 49 REQUIRED_PACKAGES += shell/ksh93
26125a 50 REQUIRED_PACKAGES += system/library