Mike Sullivan
2012-04-27 35e110e60bf90ba837884dc5b9d0787ce91eb2dd
commit | author | age
0a25a4 1 #
CM 2 # CDDL HEADER START
3 #
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.
7 #
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.
12 #
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]
18 #
19 # CDDL HEADER END
20 #
35e110 21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
0a25a4 22 #
CM 23 include ../../make-rules/shared-macros.mk
24
25 COMPONENT_NAME=        gperf
26 COMPONENT_VERSION=    3.0.3
60e6e0 27 COMPONENT_PROJECT_URL=    http://www.gnu.org/software/gperf/
0a25a4 28 COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
CM 29 COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.gz
35e110 30 COMPONENT_ARCHIVE_HASH=    \
MS 31     sha256:63287527c8d9e27e801cf0804436f3494bd569db05d49dcdd2a942ae72fa9055
0a25a4 32 COMPONENT_ARCHIVE_URL=    http://ftp.gnu.org/pub/gnu/gperf/$(COMPONENT_ARCHIVE)
CM 33
34 include ../../make-rules/prep.mk
35 include ../../make-rules/configure.mk
36 include ../../make-rules/ips.mk
37
38 CONFIGURE_OPTIONS  +=    --infodir=$(CONFIGURE_INFODIR)
39 CONFIGURE_OPTIONS  +=    --docdir=/usr/share/doc/gperf
40 CONFIGURE_OPTIONS  +=    CFLAGS="$(CFLAGS)"
3cec7d 41 CONFIGURE_OPTIONS  +=    CXXFLAGS="$(CXXFLAGS)"
0a25a4 42
CM 43 build:        $(BUILD_32)
44
45 install:    $(INSTALL_32)
4158c0 46
NJ 47 test:        $(TEST_32)
0a25a4 48
CM 49 BUILD_PKG_DEPENDENCIES =    $(BUILD_TOOLS)
50
51 include ../../make-rules/depend.mk