python/pycurl: native 64-bit build
[unleashed-userland.git] / components / a2ps / Makefile
bloba83c0a0f45d4781abbfef59efcad06b01cef22c5
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) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
26 include ../../make-rules/shared-macros.mk
28 COMPONENT_NAME= a2ps
29 COMPONENT_VERSION= 4.14
30 COMPONENT_REVISION= 1
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
44 LD_Z_IGNORE=
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 = \
56 (cd $(@D)/doc ; \
57 ln -s $(SOURCE_DIR)/doc/make-authors.pl ; \
58 ln -s $(SOURCE_DIR)/doc/translators.txt) ; \
59 (cd $(@D)/sheets ; \
60 for sheet in $(SOURCE_DIR)/sheets/*.ssh ; do \
61 ln -s $$sheet ; \
62 done)
64 # Enable ASLR for this component
65 ASLR_MODE = $(ASLR_ENABLE)
67 # common targets
68 build: $(BUILD_32)
70 install: $(INSTALL_32)
72 test: $(TEST_32)
74 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
76 include ../../make-rules/depend.mk