diff options
author | Danny Rawlins <monster.romster@gmail.com> | 2019-04-13 18:41:04 +1000 |
---|---|---|
committer | Danny Rawlins <monster.romster@gmail.com> | 2019-04-13 18:41:04 +1000 |
commit | 9f6dce9a0f4066ec9c1be603387fad048d056a73 (patch) | |
tree | 57b22f076e071c8cd16b1a49ad78c1be11b153b2 /sdl2_net/Pkgfile | |
parent | 6d385f168ad259c98e1a0f6ecb997f8c3976d7d9 (diff) | |
download | contrib-9f6dce9a0f4066ec9c1be603387fad048d056a73.tar.gz contrib-9f6dce9a0f4066ec9c1be603387fad048d056a73.tar.xz |
sdl2_net: initial import
Diffstat (limited to 'sdl2_net/Pkgfile')
-rw-r--r-- | sdl2_net/Pkgfile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sdl2_net/Pkgfile b/sdl2_net/Pkgfile new file mode 100644 index 000000000..4209329d4 --- /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 +} |