aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-02-07 18:49:50 +0100
committerlonkaars <loek@pipeframe.xyz>2024-02-07 18:49:50 +0100
commit70e923cb55dad341f66f7b0586538c93b38cd3fa (patch)
tree7460f43cd41bc322cb36c3f350e8f0dd5aeb9bac
parentb02e98ad03bfdf37cb17b56034168d4ad8638823 (diff)
add minecraft server sources (WIP)
-rw-r--r--.gitmodules4
m---------software/jdk8u0
-rw-r--r--software/minecraft/.gitignore1
-rw-r--r--software/minecraft/makefile7
-rw-r--r--software/minecraft/versions.mk1
5 files changed, 13 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index 2585820..09d00ca 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -13,3 +13,7 @@
url = https://git.busybox.net/busybox
branch = 1_36_stable
shallow = true
+[submodule "software/jdk8u"]
+ path = software/jdk8u
+ url = https://github.com/openjdk/jdk8u
+ shallow = true
diff --git a/software/jdk8u b/software/jdk8u
new file mode 160000
+Subproject 552c6866d8ad71ef247b5303f78fa7a65506aea
diff --git a/software/minecraft/.gitignore b/software/minecraft/.gitignore
new file mode 100644
index 0000000..d392f0e
--- /dev/null
+++ b/software/minecraft/.gitignore
@@ -0,0 +1 @@
+*.jar
diff --git a/software/minecraft/makefile b/software/minecraft/makefile
new file mode 100644
index 0000000..44d7ac0
--- /dev/null
+++ b/software/minecraft/makefile
@@ -0,0 +1,7 @@
+include versions.mk
+
+MINECRAFT_SERVER = $(1.4.7)
+
+server.jar:
+ curl -sLo- $(MINECRAFT_SERVER) > $@
+
diff --git a/software/minecraft/versions.mk b/software/minecraft/versions.mk
new file mode 100644
index 0000000..1eebba1
--- /dev/null
+++ b/software/minecraft/versions.mk
@@ -0,0 +1 @@
+1.4.7 = https://launcher.mojang.com/v1/objects/2f0ec8efddd2f2c674c77be9ddb370b727dec676/server.jar