add python/ipaddress-1.0.18
[unleashed-userland.git] / components / libtheora / Makefile
blob436203d70e38cb2bf655eeb3c7af6e7fa2f961a0
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 2015 Alexander Pyhalov
16 include ../../make-rules/shared-macros.mk
18 COMPONENT_NAME= libtheora
19 COMPONENT_VERSION= 1.1.1
20 COMPONENT_SUMMARY= Theora video compression codec
21 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
22 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
23 COMPONENT_ARCHIVE_HASH= \
24 sha256:40952956c47811928d1e7922cda3bc1f427eb75680c3c37249c91e949054916b
25 COMPONENT_ARCHIVE_URL= \
26 http://downloads.xiph.org/releases/theora/$(COMPONENT_ARCHIVE)
27 COMPONENT_PROJECT_URL = http://www.theora.org
28 COMPONENT_FMRI= codec/libtheora
29 COMPONENT_CLASSIFICATION= System/Multimedia Libraries
30 COMPONENT_LICENSE = Xiph.org BSD-style
31 COMPONENT_LICENSE_FILE = COPYING
33 include ../../make-rules/prep.mk
34 include ../../make-rules/configure.mk
35 include ../../make-rules/ips.mk
37 PATH=/usr/gnu/bin:/usr/bin
39 CONFIGURE_OPTIONS+= --sysconfdir=/etc
40 CONFIGURE_OPTIONS+= --enable-shared
41 CONFIGURE_OPTIONS+= --disable-static
42 CONFIGURE_OPTIONS+= --disable-asm
43 CONFIGURE_OPTIONS+= --disable-examples
45 build: $(BUILD_32_and_64)
47 install: $(INSTALL_32_and_64)
49 test: $(TEST_32_and_64)