summaryrefslogtreecommitdiff
path: root/packages/libsdl/libsdl-net_1.2.7.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libsdl/libsdl-net_1.2.7.bb')
-rw-r--r--packages/libsdl/libsdl-net_1.2.7.bb17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/libsdl/libsdl-net_1.2.7.bb b/packages/libsdl/libsdl-net_1.2.7.bb
new file mode 100644
index 0000000000..a2ab06d479
--- /dev/null
+++ b/packages/libsdl/libsdl-net_1.2.7.bb
@@ -0,0 +1,17 @@
+DESCRIPTION = "Simple DirectMedia Layer networking library."
+SECTION = "libs/network"
+PRIORITY = "optional"
+DEPENDS = "virtual/libsdl"
+LICENSE = "LGPL"
+
+SRC_URI = "http://www.libsdl.org/projects/SDL_net/release/SDL_net-${PV}.tar.gz"
+S = "${WORKDIR}/SDL_net-${PV}"
+
+inherit autotools
+
+do_stage() {
+ oe_libinstall -so libSDL_net ${STAGING_LIBDIR}
+ ln -sf libSDL_net.so ${STAGING_LIBDIR}/libSDL_net-1.2.so
+ install -m 0644 SDL_net.h ${STAGING_INCDIR}/SDL/SDL_net.h
+}
+