summaryrefslogtreecommitdiff
path: root/sdl2_net/Pkgfile
diff options
context:
space:
mode:
authorDanny Rawlins <monster.romster@gmail.com>2019-04-13 18:41:04 +1000
committerDanny Rawlins <monster.romster@gmail.com>2019-04-13 18:41:04 +1000
commit9f6dce9a0f4066ec9c1be603387fad048d056a73 (patch)
tree57b22f076e071c8cd16b1a49ad78c1be11b153b2 /sdl2_net/Pkgfile
parent6d385f168ad259c98e1a0f6ecb997f8c3976d7d9 (diff)
downloadcontrib-9f6dce9a0f4066ec9c1be603387fad048d056a73.tar.gz
contrib-9f6dce9a0f4066ec9c1be603387fad048d056a73.tar.xz
sdl2_net: initial import
Diffstat (limited to 'sdl2_net/Pkgfile')
-rw-r--r--sdl2_net/Pkgfile16
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
+}

Generated by cgit