2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright (c) 2015 Alexander Pyhalov
13 # Copyright (c) 2019 Nona Hansel
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= libofa
20 COMPONENT_VERSION
= 222128881c792c99055fa0b9cf05e07ae9b5d818
21 IPS_COMPONENT_VERSION
= 0.9.3
23 COMPONENT_SUMMARY
= Library for accesing MusicBrainz servers
24 # Project was initially at http://code.google.com/p/musicip-libofa/,
25 # but as Google Code is closing we refer to more up-to-date mirror
26 COMPONENT_PROJECT_URL
= https
://github.com
/tanob
/libofa
27 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
28 COMPONENT_ARCHIVE
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
).zip
29 COMPONENT_ARCHIVE_HASH
= sha256
:78707d928c40090f2dce2670d171d6332c014a0613f396b7eb173e8ff2c140fb
30 COMPONENT_ARCHIVE_URL
= https
://github.com
/tanob
/libofa
/archive
/$(COMPONENT_VERSION
).zip
31 COMPONENT_FMRI
= library
/libofa
32 COMPONENT_CLASSIFICATION
= Development
/High Performance Computing
33 COMPONENT_LICENSE_FILE
= libofa.license
34 COMPONENT_LICENSE
= GPLv2
36 TEST_TARGET
= $(NO_TESTS
)
37 include $(WS_MAKE_RULES
)/common.mk
39 CONFIGURE_OPTIONS
+= --disable-static
40 CONFIGURE_OPTIONS
+= --enable-shared
42 # Auto-generated dependencies
43 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
44 REQUIRED_PACKAGES
+= library
/fftw-3
45 REQUIRED_PACKAGES
+= system
/library
46 REQUIRED_PACKAGES
+= system
/library
/math