summaryrefslogtreecommitdiff
path: root/homebrew/cunit
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/cunit
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (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/cunit')
-rw-r--r--homebrew/cunit/.beer31
-rw-r--r--homebrew/cunit/.make.sh-auto4
-rw-r--r--homebrew/cunit/_metadata/description1
-rw-r--r--homebrew/cunit/_metadata/homepage1
-rw-r--r--homebrew/cunit/_metadata/name1
-rw-r--r--homebrew/cunit/_metadata/version1
-rwxr-xr-xhomebrew/cunit/download.sh1
7 files changed, 40 insertions, 0 deletions
diff --git a/homebrew/cunit/.beer b/homebrew/cunit/.beer
new file mode 100644
index 000000000..8c21f5e90
--- /dev/null
+++ b/homebrew/cunit/.beer
@@ -0,0 +1,31 @@
+{
+ "name": "Cunit",
+ "description": "Lightweight unit testing framework for C",
+ "url": "https://downloads.sourceforge.net/project/cunit/CUnit/2.1-3/CUnit-2.1-3.tar.bz2",
+ "mirror": null,
+ "homepage": "https://cunit.sourceforge.io/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "inreplace \"bootstrap\", \"libtoolize\", \"glibtoolize\"",
+ "system \"sh\", \"bootstrap\", prefix",
+ "system \"make\", \"install\""
+ ],
+ "version": "2.1",
+ "file": "cunit.rb"
+} \ No newline at end of file
diff --git a/homebrew/cunit/.make.sh-auto b/homebrew/cunit/.make.sh-auto
new file mode 100644
index 000000000..ec9f8f65c
--- /dev/null
+++ b/homebrew/cunit/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+inreplace "bootstrap", "libtoolize", "glibtoolize"
+sh bootstrap prefix
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/cunit/_metadata/description b/homebrew/cunit/_metadata/description
new file mode 100644
index 000000000..f080cf22c
--- /dev/null
+++ b/homebrew/cunit/_metadata/description
@@ -0,0 +1 @@
+Lightweight unit testing framework for C
diff --git a/homebrew/cunit/_metadata/homepage b/homebrew/cunit/_metadata/homepage
new file mode 100644
index 000000000..fa8132b87
--- /dev/null
+++ b/homebrew/cunit/_metadata/homepage
@@ -0,0 +1 @@
+https://cunit.sourceforge.io/
diff --git a/homebrew/cunit/_metadata/name b/homebrew/cunit/_metadata/name
new file mode 100644
index 000000000..9ea60a4c6
--- /dev/null
+++ b/homebrew/cunit/_metadata/name
@@ -0,0 +1 @@
+Cunit
diff --git a/homebrew/cunit/_metadata/version b/homebrew/cunit/_metadata/version
new file mode 100644
index 000000000..879b416e6
--- /dev/null
+++ b/homebrew/cunit/_metadata/version
@@ -0,0 +1 @@
+2.1
diff --git a/homebrew/cunit/download.sh b/homebrew/cunit/download.sh
new file mode 100755
index 000000000..9c564e219
--- /dev/null
+++ b/homebrew/cunit/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/cunit/CUnit/2.1-3/CUnit-2.1-3.tar.bz2 \ No newline at end of file