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/ocamlsdl | |
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/ocamlsdl')
-rw-r--r-- | homebrew/ocamlsdl/.beer | 45 | ||||
-rw-r--r-- | homebrew/ocamlsdl/.make.sh-auto | 5 | ||||
-rw-r--r-- | homebrew/ocamlsdl/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/ocamlsdl/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/ocamlsdl/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/ocamlsdl/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/ocamlsdl/download.sh | 1 |
7 files changed, 55 insertions, 0 deletions
diff --git a/homebrew/ocamlsdl/.beer b/homebrew/ocamlsdl/.beer new file mode 100644 index 000000000..b85f2f5ff --- /dev/null +++ b/homebrew/ocamlsdl/.beer @@ -0,0 +1,45 @@ +{ + "name": "Ocamlsdl", + "description": "OCaml interface with the SDL C library", + "url": "https://downloads.sourceforge.net/project/ocamlsdl/OCamlSDL/ocamlsdl-0.9.1/ocamlsdl-0.9.1.tar.gz", + "mirror": null, + "homepage": "https://ocamlsdl.sourceforge.io/", + "depends": [ + { + "depend": "ocaml", + "build-depend": false + }, + { + "depend": "sdl", + "build-depend": false + }, + { + "depend": "sdl_gfx", + "build-depend": false + }, + { + "depend": "sdl_image", + "build-depend": false + }, + { + "depend": "sdl_mixer", + "build-depend": false + }, + { + "depend": "sdl_ttf", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "ENV[\"OCAMLPARAM\"] = \"safe-string=0,_\" ", + "system \"./configure\", \"--prefix=#{prefix}\",", + "\"OCAMLLIB=#{lib}/ocaml\"", + "system \"make\"", + "system \"make\", \"install\"" + ], + "version": "0.9.1", + "file": "ocamlsdl.rb" +}
\ No newline at end of file diff --git a/homebrew/ocamlsdl/.make.sh-auto b/homebrew/ocamlsdl/.make.sh-auto new file mode 100644 index 000000000..7d196abbc --- /dev/null +++ b/homebrew/ocamlsdl/.make.sh-auto @@ -0,0 +1,5 @@ +pkg:setup +ENV["OCAMLPARAM"] = "safe-string=0,_" +pkg:configure OCAMLLIB=${PKG_TAPF}/lib/ocaml +make +make DESTDIR=${PKG_DEST} install diff --git a/homebrew/ocamlsdl/_metadata/description b/homebrew/ocamlsdl/_metadata/description new file mode 100644 index 000000000..485557f87 --- /dev/null +++ b/homebrew/ocamlsdl/_metadata/description @@ -0,0 +1 @@ +OCaml interface with the SDL C library diff --git a/homebrew/ocamlsdl/_metadata/homepage b/homebrew/ocamlsdl/_metadata/homepage new file mode 100644 index 000000000..9fe104e1f --- /dev/null +++ b/homebrew/ocamlsdl/_metadata/homepage @@ -0,0 +1 @@ +https://ocamlsdl.sourceforge.io/ diff --git a/homebrew/ocamlsdl/_metadata/name b/homebrew/ocamlsdl/_metadata/name new file mode 100644 index 000000000..9d26b653e --- /dev/null +++ b/homebrew/ocamlsdl/_metadata/name @@ -0,0 +1 @@ +Ocamlsdl diff --git a/homebrew/ocamlsdl/_metadata/version b/homebrew/ocamlsdl/_metadata/version new file mode 100644 index 000000000..f374f6662 --- /dev/null +++ b/homebrew/ocamlsdl/_metadata/version @@ -0,0 +1 @@ +0.9.1 diff --git a/homebrew/ocamlsdl/download.sh b/homebrew/ocamlsdl/download.sh new file mode 100755 index 000000000..92ea30895 --- /dev/null +++ b/homebrew/ocamlsdl/download.sh @@ -0,0 +1 @@ +wget https://downloads.sourceforge.net/project/ocamlsdl/OCamlSDL/ocamlsdl-0.9.1/ocamlsdl-0.9.1.tar.gz
\ No newline at end of file |