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) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
27 include ..
/..
/..
/make-rules
/shared-macros.mk
30 COMPONENT_VERSION
= 2.08
31 COMPONENT_PROJECT_URL
= https
://sourceforge.net
/projects
/pwgen
/
32 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
33 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
34 COMPONENT_ARCHIVE_HASH
= \
35 sha256
:dab03dd30ad5a58e578c5581241a6e87e184a18eb2c3b2e0fffa8a9cf105c97b
36 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)files
/pwgen
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
37 COMPONENT_BUGDB
= utility
/pwgen
39 TEST_TARGET
= $(NO_TESTS
)
40 include $(WS_MAKE_RULES
)/common.mk
42 # IPS Package versions contain sequences of non-negative (for now) integers,
43 # separated by dots. Leading zeroes are not allowed, due to ordering
44 # ambiguity, so IPS team has to massage "06" into "6" and thus IPS version
45 # of pwgen is actually 2.6 and not 2.06. IPS_COMPONENT_VERSION is by default
46 # set to $(COMPONENT_VERSION) but in this case it has to be set specifically
47 # to "2.6" to comply with the convention described above.
49 IPS_COMPONENT_VERSION
= 2.8
51 # configure in pwgen is generated by autoconf 2.13, which does not accept the
52 # variables like CC, CXX, etc. The solution is to generate a new configure
53 # using modern autoconf available on the build system (version 2.63 in the
54 # time of creating this makefile).
56 COMPONENT_PREP_ACTION
= (cd
$(@D
) ; autoconf
)
58 # This is to get rid of gcc specific -Wxxx options in pwgen makefile
60 COMPONENT_BUILD_ARGS
= WALL_OPTS
=
62 # Auto-generated dependencies
63 REQUIRED_PACKAGES
+= system
/library