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
15 include ..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_NAME
= libofa
18 COMPONENT_VERSION
= 222128881c792c99055fa0b9cf05e07ae9b5d818
19 IPS_COMPONENT_VERSION
= 0.9.3
20 # Project was initially at http://code.google.com/p/musicip-libofa/,
21 # but as Google Code is closing we refer to more up-to-date mirror
22 COMPONENT_PROJECT_URL
= https
://github.com
/tanob
/libofa
23 COMPONENT_SUMMARY
= Library for accesing MusicBrainz servers
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
).zip
26 COMPONENT_ARCHIVE_HASH
= \
27 sha256
:78707d928c40090f2dce2670d171d6332c014a0613f396b7eb173e8ff2c140fb
28 COMPONENT_ARCHIVE_URL
= https
://github.com
/tanob
/libofa
/archive
/$(COMPONENT_VERSION
).zip
29 COMPONENT_CLASSIFICATION
= Development
/High Performance Computing
30 COMPONENT_FMRI
= library
/libofa
31 COMPONENT_LICENSE_FILE
= libofa.license
32 COMPONENT_LICENSE
= GPLv2
34 include $(WS_TOP
)/make-rules
/prep.mk
35 include $(WS_TOP
)/make-rules
/configure.mk
36 include $(WS_TOP
)/make-rules
/ips.mk
38 CONFIGURE_OPTIONS
+= --disable-static
39 CONFIGURE_OPTIONS
+= --enable-shared
42 build
: $(BUILD_32_and_64
)
44 install: $(INSTALL_32_and_64
)