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) 2015 Alexander Pyhalov
16 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_VERSION
= 1.2.15
21 COMPONENT_SUMMARY
= libsdl
- Simple DirectMedia Layer
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
:d6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00
26 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/release
/$(COMPONENT_ARCHIVE
)
27 COMPONENT_FMRI
= library
/sdl
28 COMPONENT_LICENSE
= LGPLv2.1
29 COMPONENT_LICENSE_FILE
= COPYING
30 COMPONENT_CLASSIFICATION
= System
/Libraries
32 TEST_TARGET
=$(NO_TESTS
)
34 DROP_STATIC_LIBRARIES
= yes
36 include $(WS_MAKE_RULES
)/common.mk
40 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && \
41 PATH
="$(PATH)" $(CONFIG_SHELL
) autogen.sh
)
43 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
44 CONFIGURE_OPTIONS
+= --libexecdir
=$(CONFIGURE_LIBDIR.
$(BITS
))
45 CONFIGURE_OPTIONS
+= --disable-static
46 CONFIGURE_OPTIONS
+= --disable-assembly
47 CONFIGURE_OPTIONS
+= --disable-rpath
49 # Auto-generated dependencies
50 REQUIRED_PACKAGES
+= shell/ksh93
51 REQUIRED_PACKAGES
+= system
/library
52 REQUIRED_PACKAGES
+= system
/library
/math