summaryrefslogtreecommitdiff
path: root/package/sdl2-net
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-01-21 16:09:47 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-01-21 16:21:25 +0100
commitfc6cbda8bc99732c882bebfbcb70c56a9dbaa6b6 (patch)
tree29e01c0b5858a5b0e31b8240e0b18c1374b9cf39 /package/sdl2-net
parent6242087c99b37f06756fd921411538889199f5ae (diff)
chocolate-doom: add new package, add all dependencies and updates required to build
Diffstat (limited to 'package/sdl2-net')
-rw-r--r--package/sdl2-net/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/sdl2-net/Makefile b/package/sdl2-net/Makefile
new file mode 100644
index 000000000..94691a884
--- /dev/null
+++ b/package/sdl2-net/Makefile
@@ -0,0 +1,29 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= sdl2-net
+PKG_VERSION:= 2.2.0
+PKG_RELEASE:= 1
+PKG_HASH:= 4e4a891988316271974ff4e9585ed1ef729a123d22c08bd473129179dc857feb
+PKG_DESCR:= simple directmedia layer net 2
+PKG_SECTION:= libs/misc
+PKG_URL:= http://www.libsdl.org/
+PKG_SITES:= http://www.libsdl.org/projects/SDL_net/release/
+PKG_LIBNAME:= libsdl2-net
+PKG_OPTS:= dev
+
+DISTFILES:= SDL2_net-$(PKG_VERSION).tar.gz
+WRKDIST= ${WRKDIR}/SDL2_net-$(PKG_VERSION)
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBSDL2_NET,libsdl2-net,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+libsdl2-net-install:
+ $(INSTALL_DIR) $(IDIR_LIBSDL2_NET)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libSDL2*.so* \
+ $(IDIR_LIBSDL2_NET)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk