gcc-6: use $(GNU_ARCH) in manifest
[unleashed-userland.git] / components / soundtouch / Makefile
blobf8425bc046573d595f68d6d2596da0bb9303b3ee
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 2015 Alexander Pyhalov
16 include ../../make-rules/shared-macros.mk
18 COMPONENT_NAME= soundtouch
19 COMPONENT_VERSION= 1.9.0
20 COMPONENT_SUMMARY= Audio Processing Library
21 COMPONENT_SRC= $(COMPONENT_NAME)
22 COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).zip
23 COMPONENT_ARCHIVE_HASH= \
24 sha256:ebdc3d6484ee15fcd7145ccde9ba36a5b7d606a68158b1805b58c6d7a3e1052b
25 COMPONENT_ARCHIVE_URL= \
26 http://www.surina.net/soundtouch/$(COMPONENT_ARCHIVE)
27 COMPONENT_PROJECT_URL = http://www.surina.net/soundtouch
28 COMPONENT_LICENSE = LGPLv2.1
29 COMPONENT_LICENSE_FILE = COPYING.TXT
30 COMPONENT_CLASSIFICATION = System/Multimedia Libraries
31 COMPONENT_FMRI = library/audio/soundtouch
33 include $(WS_TOP)/make-rules/prep.mk
34 include $(WS_TOP)/make-rules/configure.mk
35 include $(WS_TOP)/make-rules/ips.mk
37 COMPONENT_PREP_ACTION = ( cd $(@D) && \
38 $(CONFIG_SHELL) bootstrap )
40 CONFIGURE_OPTIONS += --enable-shared
41 CONFIGURE_OPTIONS += --disable-static
42 CONFIGURE_OPTIONS += --disable-x86-optimizations
44 CONFIGURE_ENV += AM_CXXFLAGS="$(CXXFLAGS)"
46 build: $(BUILD_32_and_64)
48 install: $(INSTALL_32_and_64)