components/libsdl/Makefile
changeset 5904 14224167e318
parent 5682 94c0ca64c022
child 7687 1093e2a9adbd
equal deleted inserted replaced
5903:9b224fd0d790 5904:14224167e318
    22 #
    22 #
    23 # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 # Prefer 32-bit as only "binary" delivered is a script with embedded paths.
    25 # Prefer 32-bit as only "binary" delivered is a script with embedded paths.
    26 BUILD_BITS= 32_and_64
    26 BUILD_BITS= 32_and_64
       
    27 # gcc will handle src/cpuinfo.
       
    28 COMPILER= gcc
    27 include ../../make-rules/shared-macros.mk
    29 include ../../make-rules/shared-macros.mk
    28 
    30 
    29 COMPONENT_NAME =	SDL
    31 COMPONENT_NAME =	SDL
    30 COMPONENT_VERSION =	1.2.14
    32 COMPONENT_VERSION =	1.2.15
    31 COMPONENT_PROJECT_URL =	http://www.libsdl.org/
    33 COMPONENT_PROJECT_URL =	http://www.libsdl.org/
    32 COMPONENT_ARCHIVE_HASH = \
    34 COMPONENT_ARCHIVE_HASH = \
    33     sha256:5d927e287034cb6bb0ebccfa382cb1d185cb113c8ab5115a0759798642eed9b6
    35     sha256:d6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00
    34 COMPONENT_ARCHIVE_URL = $(COMPONENT_PROJECT_URL)release/$(COMPONENT_ARCHIVE)
    36 COMPONENT_ARCHIVE_URL = $(COMPONENT_PROJECT_URL)release/$(COMPONENT_ARCHIVE)
    35 COMPONENT_BUGDB=	library/sdl
    37 COMPONENT_BUGDB=	library/sdl
    36 
    38 
    37 TPNO = 7683
    39 TPNO = 28045
       
    40 
       
    41 COMPONENT_PREP_ACTION += ( cd $(@D) ; $(CONFIG_SHELL) autogen.sh );
    38 
    42 
    39 TEST_TARGET= $(SKIP_TEST)
    43 TEST_TARGET= $(SKIP_TEST)
    40 include $(WS_MAKE_RULES)/common.mk
    44 include $(WS_MAKE_RULES)/common.mk
    41 
    45 
    42 # libtool linking
    46 # libtool linking
    51 
    55 
    52 COMPONENT_POST_INSTALL_ACTION.64= \
    56 COMPONENT_POST_INSTALL_ACTION.64= \
    53 	$(ELFEDIT) -e "dyn:delete RUNPATH" -e "dyn:delete RPATH" \
    57 	$(ELFEDIT) -e "dyn:delete RUNPATH" -e "dyn:delete RPATH" \
    54 	  $(PROTOUSRLIBDIR64)/libSDL-1.2.so.0.*
    58 	  $(PROTOUSRLIBDIR64)/libSDL-1.2.so.0.*
    55 
    59 
       
    60 REQUIRED_PACKAGES += developer/gcc
    56 REQUIRED_PACKAGES += shell/ksh93
    61 REQUIRED_PACKAGES += shell/ksh93
    57 REQUIRED_PACKAGES += system/library/math
    62 REQUIRED_PACKAGES += system/library/math
    58 REQUIRED_PACKAGES += x11/library/libx11
    63 REQUIRED_PACKAGES += x11/library/libx11
    59 REQUIRED_PACKAGES += x11/library/libxext
    64 REQUIRED_PACKAGES += x11/library/libxext
    60 REQUIRED_PACKAGES += x11/library/libxrandr
    65 REQUIRED_PACKAGES += x11/library/libxrandr