2008-02-11 21:46:31 +11:00
|
|
|
# Description: A cross-platform networking library for SDL.
|
2023-03-03 12:25:18 -05:00
|
|
|
# URL: https://github.com/libsdl-org/SDL_net
|
|
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
2008-02-11 21:46:31 +11:00
|
|
|
# Depends on: libsdl
|
|
|
|
|
|
|
|
name=sdl_net
|
2023-10-15 11:26:23 +00:00
|
|
|
version=1.2.9
|
|
|
|
_commit=f5e3ef18937df3593c2d742ccfa89845ba13be4d
|
2008-02-11 21:46:31 +11:00
|
|
|
release=1
|
2023-10-15 11:26:23 +00:00
|
|
|
source=(https://github.com/libsdl-org/SDL_net/archive/$_commit/$name-$version.tar.gz)
|
2008-02-11 21:46:31 +11:00
|
|
|
|
|
|
|
build() {
|
2023-10-15 11:26:23 +00:00
|
|
|
cd SDL_net-$_commit
|
|
|
|
./configure --prefix=/usr --enable-gui=no --disable-sdltest
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2008-02-11 21:46:31 +11:00
|
|
|
}
|