openexr: make architecture independent
[oi-userland.git] / components / library / audiofile / Makefile
blob18f1735c76e8fdfd55aaba9de8e019957c1f692d
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 2016 Alexander Pyhalov
16 BUILD_BITS= 32_and_64
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= audiofile
20 COMPONENT_VERSION= 0.2.7
21 COMPONENT_REVISION= 2
22 COMPONENT_SUMMARY= Library that provides APIs for accessing various audio file formats
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
25 COMPONENT_ARCHIVE_HASH= sha256:a61c4036c2600a645843f16bec4be166093a9df5f15b02c85291213aa9cf15a2
26 # Tarballs were moved to Github and repackaged
27 COMPONENT_ARCHIVE_URL= http://dlc.openindiana.org/oi-userland/source-archives/$(COMPONENT_ARCHIVE)
28 COMPONENT_PROJECT_URL= https://audiofile.68k.org
29 COMPONENT_FMRI= library/audio/audiofile
30 COMPONENT_CLASSIFICATION=System/Multimedia Libraries
31 COMPONENT_LICENSE_FILE= audiofile.license
32 COMPONENT_LICENSE= LGPLv2,GPLv2
34 include $(WS_MAKE_RULES)/common.mk
36 PATH= $(PATH.gnu)
38 CONFIGURE_OPTIONS += --sysconfdir=/etc
39 CONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBDIR.$(BITS))
41 # Auto-generated dependencies
42 REQUIRED_PACKAGES += shell/ksh93
43 REQUIRED_PACKAGES += system/library
44 REQUIRED_PACKAGES += system/library/math