vim: update to 9.1.0984
[oi-userland.git] / components / library / liboil / Makefile
blob10dea234790b1fa00fcf2550b525f40e8d80b32f
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2014 Alexander Pyhalov
14 # Copyright 2019 Nona Hansel
17 BUILD_STYLE=configure
18 BUILD_BITS=32_and_64
19 include ../../../make-rules/shared-macros.mk
21 COMPONENT_NAME= liboil
22 COMPONENT_VERSION= 0.3.17
23 COMPONENT_REVISION= 3
24 COMPONENT_SUMMARY= Library of Optimized Inner Loops
25 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
27 COMPONENT_ARCHIVE_HASH= \
28 sha256:105f02079b0b50034c759db34b473ecb5704ffa20a5486b60a8b7698128bfc69
29 COMPONENT_ARCHIVE_URL= \
30 http://liboil.freedesktop.org/download/$(COMPONENT_ARCHIVE)
31 COMPONENT_PROJECT_URL= http://www.gnome.org
33 include $(WS_MAKE_RULES)/common.mk
35 COMPONENT_PREP_ACTION += ( cd $(@D) &&\
36 aclocal -I./m4 &&\
37 autoheader &&\
38 automake -a -c -f &&\
39 autoconf )
41 # Without this some tests are failing
42 gcc_OPT=-O2
44 # This is needed to find mapfile
45 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
47 CONFIGURE_OPTIONS += --sysconfdir=/etc
49 unexport SHELLOPTS
51 # Auto-generated dependencies
52 REQUIRED_PACKAGES += system/library
53 REQUIRED_PACKAGES += system/library/math