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 include ..
/..
/make-rules
/shared-macros.mk
29 COMPONENT_VERSION
= 4.14
31 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
32 COMPONENT_PROJECT_URL
= http
://www.gnu.org
/software
/a2ps
/
33 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
34 COMPONENT_ARCHIVE_HASH
= \
35 sha256
:f3ae8d3d4564a41b6e2a21f237d2f2b104f48108591e8b83497500182a3ab3a4
36 COMPONENT_ARCHIVE_URL
= http
://ftp.gnu.org
/gnu
/a2ps
/$(COMPONENT_ARCHIVE
)
37 COMPONENT_BUGDB
= utility
/a2ps
39 include ..
/..
/make-rules
/prep.mk
40 include ..
/..
/make-rules
/configure.mk
41 include ..
/..
/make-rules
/ips.mk
43 # don't use LD_Z_IGNORE: causes linker problems
46 CONFIGURE_OPTIONS
+= --enable-shared
47 CONFIGURE_OPTIONS
+= --disable-static
48 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
/gnu
49 CONFIGURE_OPTIONS
+= --infodir=$(CONFIGURE_INFODIR
)
50 CONFIGURE_OPTIONS
+= --with-medium
=letter
52 # because viewpathing isn't quite right in this version of a2ps
53 COMPONENT_PREP_ACTION
= \
54 (cd
$(@D
) ; ln
-s
$(SOURCE_DIR
)/auxdir
/mkinstalldirs
)
55 COMPONENT_POST_CONFIGURE_ACTION
= \
57 ln
-s
$(SOURCE_DIR
)/doc
/make-authors.pl
; \
58 ln
-s
$(SOURCE_DIR
)/doc
/translators.txt
) ; \
60 for sheet in
$(SOURCE_DIR
)/sheets
/*.ssh
; do \
64 # Enable ASLR for this component
65 ASLR_MODE
= $(ASLR_ENABLE
)
70 install: $(INSTALL_32
)
74 BUILD_PKG_DEPENDENCIES
= $(BUILD_TOOLS
)
76 include ..
/..
/make-rules
/depend.mk