xref: /OK3568_Linux_fs/buildroot/package/sdl_net/sdl_net.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1################################################################################
2#
3# sdl_net
4#
5################################################################################
6
7# The latest officially released version of SDL_image is 1.2.8, released in 2012.
8# Since then, there have been several bugfixes.
9#
10# This commit points to the SDL-1.2 branch from 18 Feb 2021.
11SDL_NET_VERSION = 620b0ba7dd84a0fdbd4cc8ef1b2be1cc10f90ae3
12SDL_NET_SITE = $(call github,libsdl-org,SDL_net,$(SDL_NET_VERSION))
13SDL_NET_SOURCE = SDL_net-$(SDL_NET_VERSION).tar.gz
14SDL_NET_LICENSE = Zlib
15SDL_NET_LICENSE_FILES = COPYING
16
17SDL_NET_CONF_OPTS = \
18	--with-sdl-prefix=$(STAGING_DIR)/usr \
19	--with-sdl-exec-prefix=$(STAGING_DIR)/usr
20
21SDL_NET_INSTALL_STAGING = YES
22
23SDL_NET_DEPENDENCIES = sdl
24
25$(eval $(autotools-package))
26