![](https://secure.gravatar.com/avatar/df8330968b6df8cd1c1942c5fb4b720c.jpg?s=120&d=mm&r=g)
commit 9f6dce9a0f4066ec9c1be603387fad048d056a73 Author: Danny Rawlins <monster.romster@gmail.com> Date: Sat Apr 13 18:41:04 2019 +1000 sdl2_net: initial import diff --git a/sdl2_net/.footprint b/sdl2_net/.footprint new file mode 100644 index 00000000..0697a44d --- /dev/null +++ b/sdl2_net/.footprint @@ -0,0 +1,12 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/SDL2/ +-rw-r--r-- root/root usr/include/SDL2/SDL_net.h +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libSDL2_net-2.0.so.0 -> libSDL2_net-2.0.so.0.0.1 +-rwxr-xr-x root/root usr/lib/libSDL2_net-2.0.so.0.0.1 +-rw-r--r-- root/root usr/lib/libSDL2_net.a +-rwxr-xr-x root/root usr/lib/libSDL2_net.la +lrwxrwxrwx root/root usr/lib/libSDL2_net.so -> libSDL2_net-2.0.so.0.0.1 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/SDL2_net.pc diff --git a/sdl2_net/.signature b/sdl2_net/.signature new file mode 100644 index 00000000..4df9656e --- /dev/null +++ b/sdl2_net/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF37D0AsI1Ew0AXGtL78lHNZ3BgFWN0BNekc8B3tt5BUXrlsWG3HbPokSpPd94S3aMKcK8k9hYuu1rUG3YPYKw/Qk= +SHA256 (Pkgfile) = 3196131e028ab0bdece13d20512ba5b3c57bde816f64c7ba59f3679bd41db5e7 +SHA256 (.footprint) = 43643fc880b24363de87f532de7f91ec6674ee6aac64d56ff059b6c940818955 +SHA256 (SDL2_net-2.0.1.tar.gz) = 15ce8a7e5a23dafe8177c8df6e6c79b6749a03fff1e8196742d3571657609d21 diff --git a/sdl2_net/Pkgfile b/sdl2_net/Pkgfile new file mode 100644 index 00000000..4209329d --- /dev/null +++ b/sdl2_net/Pkgfile @@ -0,0 +1,16 @@ +# Description: A cross-platform networking library for SDL2. +# URL: https://www.libsdl.org/projects/SDL_net/ +# Maintainer: Danny Rawlins, crux at romster dot me +# Depends on: libsdl2 + +name=sdl2_net +version=2.0.1 +release=1 +source=(https://www.libsdl.org/projects/SDL_net/release/SDL2_net-$version.tar.gz) + +build() { + cd SDL2_net-$version + ./configure --prefix=/usr + make + make DESTDIR=$PKG install +}