commit | author | age
|
30cb08
|
1 |
# |
AP |
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. |
|
6 |
# |
|
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. |
|
10 |
# |
|
11 |
|
|
12 |
# |
|
13 |
# Copyright 2016 Alexander Pyhalov |
|
14 |
# |
|
15 |
|
69ce8d
|
16 |
include ../../../make-rules/shared-macros.mk |
30cb08
|
17 |
|
AP |
18 |
COMPONENT_NAME= libmusicbrainz |
|
19 |
COMPONENT_VERSION= 3.0.3 |
69ce8d
|
20 |
COMPONENT_REVISION= 1 |
30cb08
|
21 |
COMPONENT_SUMMARY= Software library for accessing MusicBrainz servers |
AP |
22 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
23 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
24 |
COMPONENT_ARCHIVE_HASH= \ |
|
25 |
sha256:7fd459a9fd05be9faec60a9a21caa9a1e9fda03147d58d8c7c95f33582a738c5 |
|
26 |
COMPONENT_ARCHIVE_URL= \ |
|
27 |
ftp://ftp.musicbrainz.org/pub/musicbrainz/$(COMPONENT_ARCHIVE) |
|
28 |
COMPONENT_PROJECT_URL = https://musicbrainz.org/doc/libmusicbrainz |
|
29 |
COMPONENT_CLASSIFICATION = System/Multimedia Libraries |
|
30 |
COMPONENT_FMRI = library/musicbrainz/libmusicbrainz-3 |
|
31 |
COMPONENT_LICENSE = LGPLv2.1 |
|
32 |
COMPONENT_LICENSE_FILE = COPYING.txt |
|
33 |
|
69ce8d
|
34 |
include $(WS_MAKE_RULES)/prep.mk |
AL |
35 |
include $(WS_MAKE_RULES)/cmake.mk |
|
36 |
include $(WS_MAKE_RULES)/ips.mk |
30cb08
|
37 |
|
61add3
|
38 |
CXXFLAGS+= -std=c++11 |
AL |
39 |
|
30cb08
|
40 |
CMAKE_OPTIONS += -DCMAKE_BUILD_TYPE=Release |
AP |
41 |
CMAKE_OPTIONS += -DCMAKE_VERBOSE_MAKEFILE=1 |
|
42 |
|
|
43 |
CMAKE_OPTIONS.64 += -DLIB_SUFFIX=/$(MACH64) |
|
44 |
|
|
45 |
build: $(BUILD_32_and_64) |
|
46 |
|
|
47 |
install: $(INSTALL_32_and_64) |
|
48 |
|
|
49 |
test: $(NO_TESTS) |
69ce8d
|
50 |
|
AL |
51 |
# Auto-generated dependencies |
ca318a
|
52 |
REQUIRED_PACKAGES += library/musicbrainz/libdiscid |
69ce8d
|
53 |
REQUIRED_PACKAGES += library/neon |
AL |
54 |
REQUIRED_PACKAGES += system/library |
6e938f
|
55 |
REQUIRED_PACKAGES += system/library/g++-6-runtime |
969846
|
56 |
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG) |