summaryrefslogtreecommitdiffstats
path: root/package/sdl_net/sdl_net.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/sdl_net/sdl_net.mk')
-rw-r--r--package/sdl_net/sdl_net.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/sdl_net/sdl_net.mk b/package/sdl_net/sdl_net.mk
new file mode 100644
index 000000000..144d02df6
--- /dev/null
+++ b/package/sdl_net/sdl_net.mk
@@ -0,0 +1,20 @@
+#############################################################
+#
+# SDL_net: network addon for SDL
+#
+#############################################################
+SDL_NET_VERSION:=1.2.7
+SDL_NET_SITE:=http://www.libsdl.org/projects/SDL_net/release
+
+SDL_NET_CONF_OPT = --localstatedir=/var \
+ --with-sdl-prefix=$(STAGING_DIR)/usr \
+ --with-sdl-exec-prefix=$(STAGING_DIR)/usr
+
+SDL_NET_INSTALL_STAGING = YES
+SDL_NET_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) install
+
+SDL_NET_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
+
+SDL_NET_DEPENDENCIES = sdl
+
+$(eval $(call AUTOTARGETS,package,SDL_net))