# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL)". You may # only use this file in accordance with the terms of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2016 Jim Klimov # BUILD_STYLE=configure BUILD_BITS=32_and_64 include ../../../make-rules/shared-macros.mk COMPONENT_NAME= libmikmod COMPONENT_VERSION= 3.3.11.1 COMPONENT_REVISION= 1 COMPONENT_SUMMARY= MOD file playing library COMPONENT_CLASSIFICATION=System/Multimedia Libraries COMPONENT_PROJECT_URL= http://mikmod.sourceforge.net/ COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz COMPONENT_ARCHIVE_HASH= \ sha256:ad9d64dfc8f83684876419ea7cd4ff4a41d8bcd8c23ef37ecb3a200a16b46d19 COMPONENT_ARCHIVE_URL= \ http://sourceforge.net/projects/mikmod/files/libmikmod/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)/download/ COMPONENT_FMRI= library/audio/libmikmod COMPONENT_LICENSE= LGPLv2 COMPONENT_LICENSE_FILE= COPYING.LIB include $(WS_MAKE_RULES)/common.mk CFLAGS += -std=c99 CONFIGURE_OPTIONS += --sysconfdir=/etc CONFIGURE_OPTIONS += --enable-shared CONFIGURE_OPTIONS += --disable-static CONFIGURE_OPTIONS += --enable-alsa CONFIGURE_OPTIONS += --enable-sdl2 CONFIGURE_OPTIONS += --enable-openal # Auto-generated dependencies REQUIRED_PACKAGES += library/audio/openal REQUIRED_PACKAGES += library/audio/pulseaudio REQUIRED_PACKAGES += shell/ksh93 REQUIRED_PACKAGES += system/library REQUIRED_PACKAGES += system/library/math