diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-20 20:49:46 -0500 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-23 20:18:47 -0500 |
commit | 12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch) | |
tree | 352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/sdl | |
parent | a2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff) |
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/sdl')
-rw-r--r-- | homebrew/sdl/.beer | 47 | ||||
-rw-r--r-- | homebrew/sdl/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/sdl/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/sdl/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/sdl/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/sdl/download.sh | 1 | ||||
-rwxr-xr-x | homebrew/sdl/patches.sh | 3 |
7 files changed, 55 insertions, 0 deletions
diff --git a/homebrew/sdl/.beer b/homebrew/sdl/.beer new file mode 100644 index 000000000..8e1f64cb5 --- /dev/null +++ b/homebrew/sdl/.beer @@ -0,0 +1,47 @@ +{ + "name": "Sdl", + "description": "Low-level access to audio, keyboard, mouse, joystick and graphics", + "url": "https://www.libsdl.org/release/SDL-1.2.15.tar.gz", + "mirror": null, + "homepage": "https://www.libsdl.org/", + "depends": [ + { + "depend": "autoconf", + "build-depend": true + }, + { + "depend": "automake", + "build-depend": true + }, + { + "depend": "libtool", + "build-depend": true + } + ], + "resource": [], + "conflicts": [], + "patches": [ + { + "url": "https://bugzilla-attachments.libsdl.org/attachment.cgi?id=1320", + "strip": "1" + }, + { + "url": "https://bugzilla-attachments.libsdl.org/attachment.cgi?id=1324", + "strip": "1" + }, + { + "url": "https://bugzilla-attachments.libsdl.org/attachment.cgi?id=3721", + "strip": "1" + } + ], + "install": [ + "inreplace %w[sdl.pc.in sdl-config.in], \"@prefix@\", HOMEBREW_PREFIX", + "system \"./autogen.sh\" if build.head?", + "args = %W[--prefix=#{prefix} --without-x]", + "system \"./configure\", *args", + "system \"make\", \"install\"", + "libexec.install Dir[\"src/main/macosx/*\"] if build.stable?" + ], + "version": "1.2.15", + "file": "sdl.rb" +}
\ No newline at end of file diff --git a/homebrew/sdl/_metadata/description b/homebrew/sdl/_metadata/description new file mode 100644 index 000000000..5b2838072 --- /dev/null +++ b/homebrew/sdl/_metadata/description @@ -0,0 +1 @@ +Low-level access to audio, keyboard, mouse, joystick and graphics diff --git a/homebrew/sdl/_metadata/homepage b/homebrew/sdl/_metadata/homepage new file mode 100644 index 000000000..5a96ddfa9 --- /dev/null +++ b/homebrew/sdl/_metadata/homepage @@ -0,0 +1 @@ +https://www.libsdl.org/ diff --git a/homebrew/sdl/_metadata/name b/homebrew/sdl/_metadata/name new file mode 100644 index 000000000..1c08978f1 --- /dev/null +++ b/homebrew/sdl/_metadata/name @@ -0,0 +1 @@ +Sdl diff --git a/homebrew/sdl/_metadata/version b/homebrew/sdl/_metadata/version new file mode 100644 index 000000000..1fc5b8206 --- /dev/null +++ b/homebrew/sdl/_metadata/version @@ -0,0 +1 @@ +1.2.15 diff --git a/homebrew/sdl/download.sh b/homebrew/sdl/download.sh new file mode 100755 index 000000000..4beee3dc2 --- /dev/null +++ b/homebrew/sdl/download.sh @@ -0,0 +1 @@ +wget https://www.libsdl.org/release/SDL-1.2.15.tar.gz
\ No newline at end of file diff --git a/homebrew/sdl/patches.sh b/homebrew/sdl/patches.sh new file mode 100755 index 000000000..34303a69b --- /dev/null +++ b/homebrew/sdl/patches.sh @@ -0,0 +1,3 @@ +wget https://bugzilla-attachments.libsdl.org/attachment.cgi?id=1320 +wget https://bugzilla-attachments.libsdl.org/attachment.cgi?id=1324 +wget https://bugzilla-attachments.libsdl.org/attachment.cgi?id=3721 |