python/hypothesis: update to 6.121.0
[oi-userland.git] / components / library / popt / Makefile
blobfe9670311ebe44b48964c2ecd78080b73f2cd623
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) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
24 # Copyright (c) 2020, Andreas Wacknitz
27 BUILD_BITS= 32_and_64
28 include ../../../make-rules/shared-macros.mk
30 COMPONENT_NAME= popt
31 COMPONENT_VERSION= 1.19
32 COMPONENT_SUMMARY= Command line parsing library
33 COMPONENT_PROJECT_URL= https://github.com/rpm-software-management/popt
34 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
35 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
36 COMPONENT_ARCHIVE_HASH= sha256:c25a4838fc8e4c1c8aacb8bd620edb3084a3d63bf8987fdad3ca2758c63240f9
37 COMPONENT_ARCHIVE_URL= https://fossies.org/linux/misc/$(COMPONENT_ARCHIVE)
38 COMPONENT_FMRI= library/popt
39 COMPONENT_CLASSIFICATION= System/Libraries
40 COMPONENT_LICENSE= X Consortium
42 include $(WS_MAKE_RULES)/common.mk
44 COMPONENT_PRE_CONFIGURE_ACTION = \
45 ($(CLONEY) $(SOURCE_DIR) $(@D))
47 # Add /usr/gnu/bin at the front of $PATH for GNU gettext.
48 CONFIGURE_ENV += PATH=$(PATH.gnu)
50 CONFIGURE_OPTIONS += --disable-nls
51 CONFIGURE_OPTIONS += --enable-static=no
53 # Get correct libpopt.so.0 from the proto area.
54 TEST_LIBPATH.32 = $(PROTOUSRLIBDIR)
55 TEST_LIBPATH.64 = $(PROTOUSRLIBDIR64)
56 COMPONENT_TEST_ENV += LD_LIBRARY_PATH=$(TEST_LIBPATH.$(BITS))
58 COMPONENT_TEST_TRANSFORMS += \
59 '-e "/Entering directory/d"' \
60 '-e "/Leaving directory/d"' \
61 '-e "/recursive/d"' \
62 '-e "/check-local/d"' \
63 '-e "/check-TESTS/d"' \
64 '-e "/^Making/d"' \
65 '-e "/^make/d"'
67 # Auto-generated dependencies
68 REQUIRED_PACKAGES += system/library