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
15 include ..
/..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_NAME
= SDL_image
18 COMPONENT_VERSION
= 1.2.12
20 COMPONENT_SUMMARY
= Simple DirectMedia Layer
- Sample Image Loading Library
21 COMPONENT_PROJECT_URL
= http
://www.libsdl.org
/projects
/SDL_image
22 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
24 COMPONENT_ARCHIVE_HASH
= sha256
:0b90722984561004de84847744d566809dbb9daf732a9e503b91a1b5a84e5699
25 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/release
/$(COMPONENT_ARCHIVE
)
26 COMPONENT_FMRI
= image
/library
/sdl-image
27 COMPONENT_CLASSIFICATION
= System
/Multimedia Libraries
28 COMPONENT_LICENSE
= zlib
29 COMPONENT_LICENSE_FILE
= COPYING
31 TEST_TARGET
= $(NO_TESTS
)
32 include $(WS_MAKE_RULES
)/common.mk
36 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
37 CONFIGURE_OPTIONS
+= --libexecdir
=$(CONFIGURE_LIBDIR.
$(BITS
))
38 CONFIGURE_OPTIONS
+= --disable-png-shared
40 # Auto-generated dependencies
41 REQUIRED_PACKAGES
+= image
/library
/libpng16
42 REQUIRED_PACKAGES
+= library
/sdl
43 REQUIRED_PACKAGES
+= system
/library