4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
21 # Copyright (c) 2013 David Hoeppner. All rights reserved.
25 include ..
/..
/..
/make-rules
/shared-macros.mk
27 COMPONENT_NAME
= libogg
28 COMPONENT_VERSION
= 1.3.5
29 COMPONENT_FMRI
= library
/libogg
30 COMPONENT_SUMMARY
= libogg
- general-purpose compressed audio format
31 COMPONENT_CLASSIFICATION
=System
/Libraries
32 COMPONENT_PROJECT_URL
= https
://xiph.org
/ogg
33 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
34 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
35 COMPONENT_ARCHIVE_HASH
= sha256
:0eb4b4b9420a0f51db142ba3f9c64b333f826532dc0f48c6410ae51f4799b664
36 COMPONENT_ARCHIVE_URL
= http
://downloads.xiph.org
/releases
/ogg
/$(COMPONENT_ARCHIVE
)
37 COMPONENT_LICENSE
= BSD
39 include $(WS_MAKE_RULES
)/common.mk
41 CONFIGURE_OPTIONS
+= --disable-static
42 CONFIGURE_OPTIONS
+= --enable-shared
44 COMPONENT_TEST_MASTER
= $(COMPONENT_TEST_RESULTS_DIR
)/results-all.master
46 COMPONENT_TEST_TRANSFORMS
+= '-n -e "/ok.$$/p" '
48 # Setup config_types.h file to support 32 & 64 bit.
49 COMPONENT_POST_INSTALL_ACTION
= \
50 (cd
$(PROTOUSRDIR
) ; \
51 $(MV
) include/ogg
/config_types.h
include/ogg
/config_types-
$(BITS
).h
)
53 # Auto-generated dependencies
54 REQUIRED_PACKAGES
+= system
/library