summaryrefslogtreecommitdiff
path: root/Ports/SDL2
diff options
context:
space:
mode:
authorRobin Burchell <robin+git@viroteck.net>2019-05-28 02:58:36 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-05-28 03:07:18 +0200
commit9a284ad3f75629dc3d5b5a026a9a2b3c76704bca (patch)
tree567b6ece51e6f1c0b1d5caacd56d3de9b2768c84 /Ports/SDL2
parentb12a09643762b934adefd2ecbe537ff05663400a (diff)
downloadserenity-9a284ad3f75629dc3d5b5a026a9a2b3c76704bca.zip
Move everything to a subdirectory
Also don't run cd for the initial git clone (DERP!), and other bash port fixes.
Diffstat (limited to 'Ports/SDL2')
-rwxr-xr-xPorts/SDL2/SDL2.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/Ports/SDL2/SDL2.sh b/Ports/SDL2/SDL2.sh
new file mode 100755
index 0000000000..239e44d58b
--- /dev/null
+++ b/Ports/SDL2/SDL2.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+PORT_DIR=SDL
+function fetch() {
+ run_fetch_git "https://github.com/SerenityOS/SDL"
+}
+function configure() {
+ run_configure_cmake
+}
+function build() {
+ run_make
+}
+function install() {
+ run_make_install
+}
+source ../.port_include.sh