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/kore | |
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/kore')
-rw-r--r-- | homebrew/kore/.beer | 30 | ||||
-rw-r--r-- | homebrew/kore/.make.sh-auto | 6 | ||||
-rw-r--r-- | homebrew/kore/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/kore/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/kore/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/kore/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/kore/download.sh | 1 |
7 files changed, 41 insertions, 0 deletions
diff --git a/homebrew/kore/.beer b/homebrew/kore/.beer new file mode 100644 index 000000000..ca3374ef5 --- /dev/null +++ b/homebrew/kore/.beer @@ -0,0 +1,30 @@ +{ + "name": "Kore", + "description": "Web application framework for writing web APIs in C", + "url": "https://kore.io/releases/kore-3.2.2.tar.gz", + "mirror": null, + "homepage": "https://kore.io/", + "depends": [ + { + "depend": "macos", + "build-depend": false + }, + { + "depend": "openssl", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "ENV.prepend \"CFLAGS\", \"-I#{Formula[\"openssl\"].opt_include}\"", + "ENV.prepend \"LDFLAGS\", \"-L#{Formula[\"openssl\"].opt_lib}\"", + "inreplace \"src/cli.c\", \"/usr/local/opt/openssl/include\",", + "Formula[\"openssl\"].opt_include", + "system \"make\", \"PREFIX=#{prefix}\", \"TASKS=1\"", + "system \"make\", \"install\", \"PREFIX=#{prefix}\"" + ], + "version": "3.2.2", + "file": "kore.rb" +}
\ No newline at end of file diff --git a/homebrew/kore/.make.sh-auto b/homebrew/kore/.make.sh-auto new file mode 100644 index 000000000..107a46d38 --- /dev/null +++ b/homebrew/kore/.make.sh-auto @@ -0,0 +1,6 @@ +pkg:setup +ENV.prepend "CFLAGS", "-I#{Formula["openssl"].opt_include}" +ENV.prepend "LDFLAGS", "-L#{Formula["openssl"].opt_lib}" +inreplace "src/cli.c", "/usr/local/opt/openssl/include", Formula["openssl"].opt_include +make PREFIX=${PKG_TAPF} TASKS=1 +make DESTDIR=${PKG_DEST} install PREFIX=${PKG_TAPF} diff --git a/homebrew/kore/_metadata/description b/homebrew/kore/_metadata/description new file mode 100644 index 000000000..9e8b12cbc --- /dev/null +++ b/homebrew/kore/_metadata/description @@ -0,0 +1 @@ +Web application framework for writing web APIs in C diff --git a/homebrew/kore/_metadata/homepage b/homebrew/kore/_metadata/homepage new file mode 100644 index 000000000..d7e9ced87 --- /dev/null +++ b/homebrew/kore/_metadata/homepage @@ -0,0 +1 @@ +https://kore.io/ diff --git a/homebrew/kore/_metadata/name b/homebrew/kore/_metadata/name new file mode 100644 index 000000000..f0eb7ad2f --- /dev/null +++ b/homebrew/kore/_metadata/name @@ -0,0 +1 @@ +Kore diff --git a/homebrew/kore/_metadata/version b/homebrew/kore/_metadata/version new file mode 100644 index 000000000..be94e6f53 --- /dev/null +++ b/homebrew/kore/_metadata/version @@ -0,0 +1 @@ +3.2.2 diff --git a/homebrew/kore/download.sh b/homebrew/kore/download.sh new file mode 100755 index 000000000..bc287e3f2 --- /dev/null +++ b/homebrew/kore/download.sh @@ -0,0 +1 @@ +wget https://kore.io/releases/kore-3.2.2.tar.gz
\ No newline at end of file |