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 (c) 2016 Jim Klimov
13 # Copyright (c) 2020 Andreas Wacknitz
16 USE_PARALLEL_BUILD
= yes
17 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_VERSION
= 2.30.10
21 COMPONENT_SUMMARY
= libsdl2
- Simple DirectMedia Layer
2.0
22 COMPONENT_PROJECT_URL
= https
://www.libsdl.org
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
25 COMPONENT_ARCHIVE_HASH
= sha256
:f59adf36a0fcf4c94198e7d3d776c1b3824211ab7aeebeb31fe19836661196aa
26 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/release
/$(COMPONENT_ARCHIVE
)
27 COMPONENT_FMRI
= library
/sdl2
28 COMPONENT_CLASSIFICATION
= System
/Libraries
29 COMPONENT_LICENSE
= ZLIB
30 COMPONENT_LICENSE_FILE
= LICENSE.txt
32 TEST_TARGET
= $(NO_TESTS
)
33 include $(WS_MAKE_RULES
)/common.mk
39 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && $(CONFIG_SHELL
) autogen.sh
);
41 CONFIGURE_OPTIONS
+= --disable-rpath
42 CONFIGURE_OPTIONS
+= --enable-year2038
43 CONFIGURE_OPTIONS
+= --enable-static
=no
45 # Manually added build dependencies
46 REQUIRED_PACKAGES
+= library
/libsamplerate
48 # Auto-generated dependencies
49 REQUIRED_PACKAGES
+= shell/ksh93
50 REQUIRED_PACKAGES
+= system
/library
51 REQUIRED_PACKAGES
+= system
/library
/math