aboutsummaryrefslogtreecommitdiff
path: root/Formula/sharedc-latest.rb
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-02-26 21:21:39 -0300
committerEuAndreh <eu@euandre.org>2021-02-26 21:21:39 -0300
commit76be02dc64c66e86d398e7c62e30a76de2e51001 (patch)
tree7d7380ed5dd9f5fc4421655e32c19aa95d761cd3 /Formula/sharedc-latest.rb
parentUpdate package versions (diff)
downloadpackage-repository-76be02dc64c66e86d398e7c62e30a76de2e51001.tar.gz
package-repository-76be02dc64c66e86d398e7c62e30a76de2e51001.tar.xz
Add sharedc package, latest version
Diffstat (limited to 'Formula/sharedc-latest.rb')
-rw-r--r--Formula/sharedc-latest.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/Formula/sharedc-latest.rb b/Formula/sharedc-latest.rb
new file mode 100644
index 0000000..21d3053
--- /dev/null
+++ b/Formula/sharedc-latest.rb
@@ -0,0 +1,13 @@
+class SharedcLatest < Formula
+ desc 'Multi-purpose C data structures, algorithms and utility functions'
+ homepage 'https://sharedc.euandreh.xyz'
+ url 'https://git.euandreh.xyz/sharedc/snapshot/sharedc-2a61018b554ed5854db05c37e79da4bc409c6dd8.tar.gz'
+ sha256 '07402dca523779f684121bfeeb5578b418e9eeb8c786c368667275cddc03b6f4'
+ license 'AGPL-3.0-or-later'
+
+ def install
+ system 'make'
+ system 'make', 'check'
+ system 'make', 'install', "PREFIX=#{prefix}"
+ end
+end