2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2016 Jim Klimov
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= libmikmod
19 COMPONENT_VERSION
= 3.3.11.1
21 COMPONENT_SUMMARY
= MOD file playing library
22 COMPONENT_CLASSIFICATION
=System
/Multimedia Libraries
23 COMPONENT_PROJECT_URL
= http
://mikmod.sourceforge.net
/
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
26 COMPONENT_ARCHIVE_HASH
= \
27 sha256
:ad9d64dfc8f83684876419ea7cd4ff4a41d8bcd8c23ef37ecb3a200a16b46d19
28 COMPONENT_ARCHIVE_URL
= \
29 http
://sourceforge.net
/projects
/mikmod
/files
/libmikmod
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)/download
/
30 COMPONENT_FMRI
= library
/audio
/libmikmod
31 COMPONENT_LICENSE
= LGPLv2
32 COMPONENT_LICENSE_FILE
= COPYING.LIB
34 include $(WS_MAKE_RULES
)/common.mk
38 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
39 CONFIGURE_OPTIONS
+= --enable-shared
40 CONFIGURE_OPTIONS
+= --disable-static
41 CONFIGURE_OPTIONS
+= --enable-alsa
42 CONFIGURE_OPTIONS
+= --enable-sdl2
43 CONFIGURE_OPTIONS
+= --enable-openal
45 # Auto-generated dependencies
46 REQUIRED_PACKAGES
+= library
/audio
/openal
47 REQUIRED_PACKAGES
+= library
/audio
/pulseaudio
48 REQUIRED_PACKAGES
+= shell/ksh93
49 REQUIRED_PACKAGES
+= system
/library
50 REQUIRED_PACKAGES
+= system
/library
/math