swi-prolog: update to 9.2.9
[oi-userland.git] / components / encumbered / faac / Makefile
blobe0088226c16b6f285cfc0669e0d765a81f593f47
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
14 # Copyright 2023 Niklas Poslovski
17 BUILD_STYLE=configure
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= faac
21 COMPONENT_VERSION= 1.30
22 COMPONENT_REVISION= 1
23 COMPONENT_SUMMARY= Reference encoder and encoding library for MPEG2/4 AAC
24 COMPONENT_SRC= $(COMPONENT_NAME)-1_30
25 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
26 COMPONENT_ARCHIVE_HASH= \
27 sha256:adc387ce588cca16d98c03b6ec1e58f0ffd9fc6eadb00e254157d6b16203b2d2
28 COMPONENT_ARCHIVE_URL= \
29 https://sourceforge.net/projects/faac/files/faac-src/$(COMPONENT_NAME)-$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)/download
30 COMPONENT_PROJECT_URL= https://sourceforge.net/projects/faac/
31 COMPONENT_LICENSE= LGPLv2
32 COMPONENT_LICENSE_FILE= COPYING
33 COMPONENT_CLASSIFICATION=Applications/Sound and Video
34 COMPONENT_FMRI= audio/faac
36 include $(WS_MAKE_RULES)/encumbered.mk
37 include $(WS_MAKE_RULES)/common.mk
39 COMPONENT_PREP_ACTION = (cd $(@D); ./bootstrap)
41 # Missing files in build dir for configure without this.
42 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
44 CONFIGURE_SCRIPT = $(@D)/configure
46 CFLAGS += $(CPP_LARGEFILES)
48 CONFIGURE_OPTIONS += --disable-static
50 # Auto-generated dependencies
51 REQUIRED_PACKAGES += system/library
52 REQUIRED_PACKAGES += system/library/math