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/minisat | |
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/minisat')
-rw-r--r-- | homebrew/minisat/.beer | 32 | ||||
-rw-r--r-- | homebrew/minisat/.make.sh-auto | 4 | ||||
-rw-r--r-- | homebrew/minisat/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/minisat/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/minisat/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/minisat/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/minisat/download.sh | 1 | ||||
-rwxr-xr-x | homebrew/minisat/patches.sh | 2 |
8 files changed, 43 insertions, 0 deletions
diff --git a/homebrew/minisat/.beer b/homebrew/minisat/.beer new file mode 100644 index 000000000..b87af6b9a --- /dev/null +++ b/homebrew/minisat/.beer @@ -0,0 +1,32 @@ +{ + "name": "Minisat", + "description": "Boolean satisfiability (SAT) problem solver", + "url": "https://github.com/niklasso/minisat/archive/releases/2.2.0.tar.gz", + "mirror": null, + "homepage": "http://minisat.se", + "depends": [ + { + "depend": "gcc", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [ + { + "url": "https://github.com/niklasso/minisat/commit/9bd874980a7e5d65cecaba4edeb7127a41050ed1.patch?full_index=1", + "strip": "1" + }, + { + "url": "https://github.com/niklasso/minisat/commit/cfae87323839064832c8b3608bf595548dd1a1f3.patch?full_index=1", + "strip": "1" + } + ], + "install": [ + "ENV[\"MROOT\"] = buildpath", + "system \"make\", \"-C\", \"simp\", \"r\"", + "bin.install \"simp/minisat_release\" => \"minisat\"" + ], + "version": "2.2.0", + "file": "minisat.rb" +}
\ No newline at end of file diff --git a/homebrew/minisat/.make.sh-auto b/homebrew/minisat/.make.sh-auto new file mode 100644 index 000000000..26ccede63 --- /dev/null +++ b/homebrew/minisat/.make.sh-auto @@ -0,0 +1,4 @@ +pkg:setup +ENV["MROOT"] = buildpath +make -C simp r +bin.install "simp/minisat_release" => "minisat" diff --git a/homebrew/minisat/_metadata/description b/homebrew/minisat/_metadata/description new file mode 100644 index 000000000..8e9340859 --- /dev/null +++ b/homebrew/minisat/_metadata/description @@ -0,0 +1 @@ +Boolean satisfiability (SAT) problem solver diff --git a/homebrew/minisat/_metadata/homepage b/homebrew/minisat/_metadata/homepage new file mode 100644 index 000000000..1ffa2ae4a --- /dev/null +++ b/homebrew/minisat/_metadata/homepage @@ -0,0 +1 @@ +http://minisat.se diff --git a/homebrew/minisat/_metadata/name b/homebrew/minisat/_metadata/name new file mode 100644 index 000000000..4bb7c698f --- /dev/null +++ b/homebrew/minisat/_metadata/name @@ -0,0 +1 @@ +Minisat diff --git a/homebrew/minisat/_metadata/version b/homebrew/minisat/_metadata/version new file mode 100644 index 000000000..ccbccc3dc --- /dev/null +++ b/homebrew/minisat/_metadata/version @@ -0,0 +1 @@ +2.2.0 diff --git a/homebrew/minisat/download.sh b/homebrew/minisat/download.sh new file mode 100755 index 000000000..03145d5ca --- /dev/null +++ b/homebrew/minisat/download.sh @@ -0,0 +1 @@ +wget https://github.com/niklasso/minisat/archive/releases/2.2.0.tar.gz
\ No newline at end of file diff --git a/homebrew/minisat/patches.sh b/homebrew/minisat/patches.sh new file mode 100755 index 000000000..984d7b4a0 --- /dev/null +++ b/homebrew/minisat/patches.sh @@ -0,0 +1,2 @@ +wget https://github.com/niklasso/minisat/commit/9bd874980a7e5d65cecaba4edeb7127a41050ed1.patch?full_index=1 +wget https://github.com/niklasso/minisat/commit/cfae87323839064832c8b3608bf595548dd1a1f3.patch?full_index=1 |