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]
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.6
31 COMPONENT_SUMMARY
= The libpaper package enables users to indicate their preferred paper size
32 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
33 COMPONENT_PROJECT_URL
= https
://github.com
/rrthomas
/libpaper
34 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
35 COMPONENT_ARCHIVE_HASH
= sha256
:500d39dc58768ee09688738c8b5bfe07640ba2fd6c25a6dc78810eb69c719e93
36 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/releases
/download
/v
$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
37 COMPONENT_FMRI
= library
/$(COMPONENT_NAME
)
38 COMPONENT_CLASSIFICATION
= System
/Libraries
39 COMPONENT_LICENSE
= GPLv3
40 COMPONENT_LICENSE_FILE
= COPYING
42 include $(WS_MAKE_RULES
)/common.mk
46 COMPONENT_POST_UNPACK_ACTION
= ( $(CHMOD
) +x
$(SOURCE_DIR
)/tests
/*.sh
)
48 COMPONENT_PRE_CONFIGURE_ACTION
= ( $(CLONEY
) $(SOURCE_DIR
) $(@D
) )
50 # Enable ASLR for this component
51 ASLR_MODE
= $(ASLR_ENABLE
)
53 CONFIGURE_OPTIONS
+= --enable-static
=no
54 CONFIGURE_OPTIONS
+= --enable-relocatable
55 CONFIGURE_OPTIONS
+= --enable-year2038
57 # At the moment all tests fail because of missing paper_test. It looks like the tests are outdated.
59 # Auto-generated dependencies
60 REQUIRED_PACKAGES
+= system
/library