json-glib: update to 1.10.6
[oi-userland.git] / components / library / libpaper / Makefile
blobc0ed837f19c0a417a4eff474e7e9c8c4323cd282
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
23 # Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
26 USE_DEFAULT_TEST_TRANSFORMS= yes
27 include ../../../make-rules/shared-macros.mk
29 COMPONENT_NAME= libpaper
30 COMPONENT_VERSION= 2.2.5
31 COMPONENT_REVISION= 1
32 COMPONENT_SUMMARY= The libpaper package enables users to indicate their preferred paper size
33 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
34 COMPONENT_PROJECT_URL= https://github.com/rrthomas/libpaper
35 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
36 COMPONENT_ARCHIVE_HASH= sha256:7be50974ce0df0c74e7587f10b04272cd53fd675cb6a1273ae1cc5c9cc9cab09
37 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
38 COMPONENT_FMRI= library/$(COMPONENT_NAME)
39 COMPONENT_CLASSIFICATION= System/Libraries
40 COMPONENT_LICENSE= GPLv3
41 COMPONENT_LICENSE_FILE= COPYING
43 include $(WS_MAKE_RULES)/common.mk
45 PATH= $(PATH.gnu)
47 COMPONENT_POST_UNPACK_ACTION= ( $(CHMOD) +x $(SOURCE_DIR)/tests/*.sh )
49 COMPONENT_PRE_CONFIGURE_ACTION= ( $(CLONEY) $(SOURCE_DIR) $(@D) )
51 # Enable ASLR for this component
52 ASLR_MODE= $(ASLR_ENABLE)
54 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
55 CONFIGURE_OPTIONS += --enable-static=no
56 CONFIGURE_OPTIONS += --enable-relocatable
57 CONFIGURE_OPTIONS += --enable-year2038
59 # At the moment all tests fail because of missing paper_test. It looks like the tests are outdated.
61 # Auto-generated dependencies
62 REQUIRED_PACKAGES += system/library