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/harbour/.beer | |
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/harbour/.beer')
-rw-r--r-- | homebrew/harbour/.beer | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/homebrew/harbour/.beer b/homebrew/harbour/.beer new file mode 100644 index 000000000..5cc625aac --- /dev/null +++ b/homebrew/harbour/.beer @@ -0,0 +1,52 @@ +{ + "name": "Harbour", + "description": "Portable, xBase-compatible programming language and environment", + "url": "https://downloads.sourceforge.net/harbour-project/source/3.0.0/harbour-3.0.0.tar.bz2", + "mirror": null, + "homepage": "https://harbour.github.io", + "depends": [ + { + "depend": "pcre", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [ + { + "url": null, + "data": [ + "diff --git a/contrib/hbcurl/core.c b/contrib/hbcurl/core.c\n", + "index 00caaa8..53618ed 100644\n", + "--- a/contrib/hbcurl/core.c\n", + "+++ b/contrib/hbcurl/core.c\n", + "@@ -53,8 +53,12 @@\n", + " */\n", + "\n", + " #include <curl/curl.h>\n", + "-#include <curl/types.h>\n", + "-#include <curl/easy.h>\n", + "+#if LIBCURL_VERSION_NUM < 0x070A03\n", + "+# include <curl/easy.h>\n", + "+#endif\n", + "+#if LIBCURL_VERSION_NUM < 0x070C00\n", + "+# include <curl/types.h>\n", + "+#endif\n", + "\n", + " #include \"hbapi.h\"\n", + " #include \"hbapiitm.h\"\n" + ] + } + ], + "install": [ + "ENV[\"HB_INSTALL_PREFIX\"] = prefix", + "ENV[\"HB_WITH_X11\"] = \"no\"", + "ENV.deparallelize", + "system \"make\", \"install\"", + "rm Dir[bin/\"hbmk2.*.hbl\"]", + "rm bin/\"contrib.hbr\" if build.head?", + "rm bin/\"harbour.ucf\" if build.head?" + ], + "version": "3.0.0", + "file": "harbour.rb" +}
\ No newline at end of file |