vim: update to 9.1.0984
[oi-userland.git] / components / library / aalib / Makefile
blobf32c18601e9c326c40c6d85deec662c85427b0ee
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) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
26 BUILD_BITS= 32_and_64
27 include ../../../make-rules/shared-macros.mk
29 COMPONENT_NAME= aalib
30 COMPONENT_VERSION= 1.4.0
31 HUMAN_VERSION= 1.4rc5
32 IPS_COMPONENT_VERSION = 1.4.5
33 COMPONENT_REVISION= 4
34 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
35 COMPONENT_PROJECT_URL= https://aa-project.sourceforge.net/aalib/
36 COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(HUMAN_VERSION).tar.gz
37 COMPONENT_ARCHIVE_HASH= sha256:fbddda9230cf6ee2a4f5706b4b11e2190ae45f5eda1f0409dc4f99b35e0a70ee
38 COMPONENT_ARCHIVE_URL= https://downloads.sourceforge.net/aa-project/$(COMPONENT_ARCHIVE)
40 CONFIGURE_FIX_LIBTOOL_RPATH = no
42 TEST_TARGET= $(NO_TESTS)
43 include $(WS_MAKE_RULES)/common.mk
45 PKG_PROTO_DIRS += $(COMPONENT_SRC)
47 COMPONENT_PREP_ACTION= (cd $(@D) && autoreconf -fi)
49 # We need to reset configure options here because aalib is confused with
50 # CC and CFLAGS definitions as configure parameters.
51 CONFIGURE_OPTIONS += --prefix=/usr
52 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
53 CONFIGURE_OPTIONS += --mandir=$(CONFIGURE_MANDIR)
54 CONFIGURE_OPTIONS += --bindir=$(CONFIGURE_BINDIR.$(BITS))
55 CONFIGURE_OPTIONS += --libdir=$(CONFIGURE_LIBDIR.$(BITS))
56 CONFIGURE_OPTIONS += --enable-shared
57 CONFIGURE_OPTIONS += --disable-static
58 CONFIGURE_OPTIONS += --x-includes=/usr/include
59 CONFIGURE_OPTIONS += --x-libraries=$(CONFIGURE_LIBDIR.$(BITS))
60 CONFIGURE_OPTIONS += $(CONFIGURE_OPTIONS.$(BITS))
62 ASLR_MODE= $(ASLR_ENABLE)
64 # actually there is a test we put in the demos,
65 # but it's 32-bit only and not a target
67 # Auto-generated dependencies
68 REQUIRED_PACKAGES += library/slang
69 REQUIRED_PACKAGES += shell/ksh93
70 REQUIRED_PACKAGES += system/library
71 REQUIRED_PACKAGES += system/library/math
72 REQUIRED_PACKAGES += x11/library/libx11