Merge pull request #2769 from alarcher/hdf5_1818
[unleashed-userland.git] / components / libmusicbrainz-5 / Makefile
blob6f390919a90f3f94fd68f4039d9351e6ba0af1c6
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 2016 Alexander Pyhalov
16 include ../../make-rules/shared-macros.mk
18 COMPONENT_NAME= libmusicbrainz
19 COMPONENT_VERSION= 5.1.0
20 COMPONENT_SUMMARY= Software library for accessing MusicBrainz servers
21 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
22 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
23 COMPONENT_ARCHIVE_HASH= \
24 sha256:6749259e89bbb273f3f5ad7acdffb7c47a2cf8fcaeab4c4695484cef5f4c6b46
25 COMPONENT_ARCHIVE_URL= \
26 https://github.com/metabrainz/libmusicbrainz/releases/download/release-$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
27 COMPONENT_PROJECT_URL = https://musicbrainz.org/doc/libmusicbrainz
28 COMPONENT_CLASSIFICATION = System/Multimedia Libraries
29 COMPONENT_FMRI = library/musicbrainz/libmusicbrainz-5
30 COMPONENT_LICENSE = LGPLv2.1
31 COMPONENT_LICENSE_FILE = COPYING.txt
33 include ../../make-rules/prep.mk
34 include ../../make-rules/cmake.mk
35 include ../../make-rules/ips.mk
37 CMAKE_OPTIONS += -DCMAKE_BUILD_TYPE=Release
38 CMAKE_OPTIONS += -DCMAKE_VERBOSE_MAKEFILE=1
40 CMAKE_OPTIONS.64 += -DLIB_SUFFIX=/$(MACH64)
42 build: $(BUILD_32_and_64)
44 install: $(INSTALL_32_and_64)
46 test: $(TEST_32_and_64)