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/teapot | |
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/teapot')
-rw-r--r-- | homebrew/teapot/.beer | 42 | ||||
-rw-r--r-- | homebrew/teapot/.make.sh-auto | 5 | ||||
-rw-r--r-- | homebrew/teapot/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/teapot/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/teapot/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/teapot/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/teapot/download.sh | 1 | ||||
-rwxr-xr-x | homebrew/teapot/patches.sh | 15 |
8 files changed, 67 insertions, 0 deletions
diff --git a/homebrew/teapot/.beer b/homebrew/teapot/.beer new file mode 100644 index 000000000..69da72777 --- /dev/null +++ b/homebrew/teapot/.beer @@ -0,0 +1,42 @@ +{ + "name": "Teapot", + "description": "Table editor and planner", + "url": "https://www.syntax-k.de/projekte/teapot/teapot-2.3.0.tar.gz", + "mirror": null, + "homepage": "https://www.syntax-k.de/projekte/teapot/", + "depends": [ + { + "depend": "cmake", + "build-depend": true + } + ], + "resource": [], + "conflicts": [], + "patches": [ + { + "url": null, + "data": [ + "diff --git a/config.h b/config.h\n", + "index 2a4e34f..cdf11a1 100644\n", + "--- a/config.h\n", + "+++ b/config.h\n", + "@@ -1,7 +1,7 @@\n", + " /* configuration values */\n", + "\n", + "\n", + "-#define VERSION \"2.2.1\"\n", + "+#define VERSION \"2.3.0\"\n", + "\n", + " #define HELPFILE \"/usr/local/share/doc/teapot/html/index.html\"\n" + ] + } + ], + "install": [ + "args = std_cmake_args + [\"-DENABLE_HELP=OFF\", \"..\"]", + "mkdir \"macbuild\" do", + "system \"cmake\", *args", + "system \"make\", \"install\"" + ], + "version": "2.3.0", + "file": "teapot.rb" +}
\ No newline at end of file diff --git a/homebrew/teapot/.make.sh-auto b/homebrew/teapot/.make.sh-auto new file mode 100644 index 000000000..41abddc6c --- /dev/null +++ b/homebrew/teapot/.make.sh-auto @@ -0,0 +1,5 @@ +pkg:setup +args = std_cmake_args + ["-DENABLE_HELP=OFF", ".."] +mkdir "macbuild" && cd macbuild +cmake *args +make DESTDIR=${PKG_DEST} install diff --git a/homebrew/teapot/_metadata/description b/homebrew/teapot/_metadata/description new file mode 100644 index 000000000..11675d5b1 --- /dev/null +++ b/homebrew/teapot/_metadata/description @@ -0,0 +1 @@ +Table editor and planner diff --git a/homebrew/teapot/_metadata/homepage b/homebrew/teapot/_metadata/homepage new file mode 100644 index 000000000..ac40839f3 --- /dev/null +++ b/homebrew/teapot/_metadata/homepage @@ -0,0 +1 @@ +https://www.syntax-k.de/projekte/teapot/ diff --git a/homebrew/teapot/_metadata/name b/homebrew/teapot/_metadata/name new file mode 100644 index 000000000..ae7d8555d --- /dev/null +++ b/homebrew/teapot/_metadata/name @@ -0,0 +1 @@ +Teapot diff --git a/homebrew/teapot/_metadata/version b/homebrew/teapot/_metadata/version new file mode 100644 index 000000000..276cbf9e2 --- /dev/null +++ b/homebrew/teapot/_metadata/version @@ -0,0 +1 @@ +2.3.0 diff --git a/homebrew/teapot/download.sh b/homebrew/teapot/download.sh new file mode 100755 index 000000000..ed7b68468 --- /dev/null +++ b/homebrew/teapot/download.sh @@ -0,0 +1 @@ +wget https://www.syntax-k.de/projekte/teapot/teapot-2.3.0.tar.gz
\ No newline at end of file diff --git a/homebrew/teapot/patches.sh b/homebrew/teapot/patches.sh new file mode 100755 index 000000000..06776fd65 --- /dev/null +++ b/homebrew/teapot/patches.sh @@ -0,0 +1,15 @@ +echo 'Creating brew-patch.diff' +cat << EOF >> brew-patch.diff +diff --git a/config.h b/config.h +index 2a4e34f..cdf11a1 100644 +--- a/config.h ++++ b/config.h +@@ -1,7 +1,7 @@ + /* configuration values */ + + +-#define VERSION "2.2.1" ++#define VERSION "2.3.0" + + #define HELPFILE "/usr/local/share/doc/teapot/html/index.html" +EOF |