illumos-gate: omit tagged pointers on SPARC, causes panic on UltraI/II systems
[oi-userland.git] / components / multimedia / soxr / Makefile
blob722207067bb3f615b55fb40dc4b0e30b441cac01
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 2017 Alexander Pyhalov
16 BUILD_BITS= 64
17 BUILD_STYLE= cmake
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= soxr
21 COMPONENT_VERSION= 0.1.3
22 COMPONENT_REVISION= 2
23 COMPONENT_SUMMARY= The SoX Resampler library
24 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)-Source
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
26 COMPONENT_ARCHIVE_HASH= sha256:b111c15fdc8c029989330ff559184198c161100a59312f5dc19ddeb9b5a15889
27 COMPONENT_ARCHIVE_URL= https://downloads.sourceforge.net/project/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
28 COMPONENT_PROJECT_URL= https://soxr.sourceforge.net/
29 COMPONENT_FMRI= library/audio/soxr
30 COMPONENT_CLASSIFICATION= System/Multimedia Libraries
31 COMPONENT_LICENSE= LGPLv2
32 COMPONENT_LICENSE_FILE= COPYING.LGPL
34 include $(WS_MAKE_RULES)/common.mk
36 CMAKE_OPTIONS += -DLIB_INSTALL_DIR=$(CMAKE_LIBDIR.$(BITS))
37 CMAKE_OPTIONS += -DBIN_INSTALL_DIR=$(CMAKE_BINDIR.$(BITS))
39 COMPONENT_TEST_TRANSFORMS += \
40 '-e "s/\s\s*[0-9][0-9]*\.[0-9][0-9]* sec//"' \
41 '-e "/Test project/d"' \
42 '-e "/^[mM]ake/d"' \
43 '-e "s|^make.*: Leaving directory.*$$|XXX_REMOVE_XXX|g" ' \
44 '-e "s|^make.*: Entering directory.*$$|XXX_REMOVE_XXX|g" ' \
46 # Auto-generated dependencies
47 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
48 REQUIRED_PACKAGES += system/library
49 REQUIRED_PACKAGES += system/library/math