libports: create SDL_net recipe

Issue #2602.
This commit is contained in:
Josef Söntgen 2017-11-29 10:47:52 +01:00 committed by Christian Helmuth
parent 841b99ba3b
commit 7fad78ba03
7 changed files with 83 additions and 0 deletions

View File

@ -0,0 +1,38 @@
SDLNet_AddSocket T
SDLNet_AllocPacket T
SDLNet_AllocPacketV T
SDLNet_AllocSocketSet T
SDLNet_CheckSockets T
SDLNet_DelSocket T
SDLNet_FreePacket T
SDLNet_FreePacketV T
SDLNet_FreeSocketSet T
SDLNet_GetLastError T
SDLNet_GetLocalAddresses T
SDLNet_Init T
SDLNet_Linked_Version T
SDLNet_Quit T
SDLNet_Read16 T
SDLNet_Read32 T
SDLNet_ResizePacket T
SDLNet_ResolveHost T
SDLNet_ResolveIP T
SDLNet_SetLastError T
SDLNet_TCP_Accept T
SDLNet_TCP_Close T
SDLNet_TCP_GetPeerAddress T
SDLNet_TCP_Open T
SDLNet_TCP_Recv T
SDLNet_TCP_Send T
SDLNet_UDP_Bind T
SDLNet_UDP_Close T
SDLNet_UDP_GetPeerAddress T
SDLNet_UDP_Open T
SDLNet_UDP_Recv T
SDLNet_UDP_RecvV T
SDLNet_UDP_Send T
SDLNet_UDP_SendV T
SDLNet_UDP_SetPacketLoss T
SDLNet_UDP_Unbind T
SDLNet_Write16 T
SDLNet_Write32 T

View File

@ -0,0 +1,15 @@
MIRROR_FROM_REP_DIR := lib/symbols/sdl_net lib/import/import-sdl_net.mk
content: $(MIRROR_FROM_REP_DIR) include LICENSE
$(MIRROR_FROM_REP_DIR):
$(mirror_from_rep_dir)
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/sdl_net)
include:
mkdir -p $@
cp -r $(PORT_DIR)/include/SDL $@/
LICENSE:
cp $(PORT_DIR)/src/lib/sdl_net/COPYING $@

View File

@ -0,0 +1 @@
2017-12-05 8571d52873f4343c456ef43e13db853b0496f1de

View File

@ -0,0 +1 @@
sdl_net

View File

@ -0,0 +1,17 @@
content: src/lib/sdl_net/target.mk lib/mk LICENSE
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/sdl_net)
src/lib/sdl_net:
mkdir -p $@
cp -r $(PORT_DIR)/src/lib/sdl_net/* $@
src/lib/sdl_net/target.mk: src/lib/sdl_net
echo "LIBS += sdl_net" > $@
lib/mk:
mkdir -p $@
cp $(REP_DIR)/$@/sdl_net.mk $@
LICENSE:
cp $(PORT_DIR)/src/lib/sdl_net/COPYING $@

View File

@ -0,0 +1 @@
2017-12-05 afeb5952dcd497c7de0c43eaae619a3261e4ecfc

View File

@ -0,0 +1,10 @@
base
os
so
libc
zlib
sdl
audio_out_session
framebuffer_session
input_session
timer_session