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
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
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= opencore-amr
21 COMPONENT_VERSION
= 0.1.6
22 COMPONENT_SUMMARY
= OpenCORE AMR speech codec library
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
25 COMPONENT_ARCHIVE_HASH
= sha256
:483eb4061088e2b34b358e47540b5d495a96cd468e361050fae615b1809dc4a1
26 COMPONENT_ARCHIVE_URL
= https
://sourceforge.net
/projects
/opencore-amr
/files
/opencore-amr
/$(COMPONENT_ARCHIVE
)
27 COMPONENT_PROJECT_URL
= https
://opencore-amr.sourceforge.net
/
28 COMPONENT_CLASSIFICATION
= System
/Media
29 COMPONENT_FMRI
= codec
/opencore-amr
30 COMPONENT_LICENSE
= APLv2.0
31 COMPONENT_LICENSE_FILE
= LICENSE
33 include $(WS_MAKE_RULES
)/encumbered.mk
34 include $(WS_MAKE_RULES
)/common.mk
36 CONFIGURE_OPTIONS
+= --disable-compile-c
37 CONFIGURE_OPTIONS
+= --enable-shared
38 CONFIGURE_OPTIONS
+= --disable-static
40 # Auto-generated dependencies
41 REQUIRED_PACKAGES
+= system
/library