summaryrefslogtreecommitdiff
path: root/homebrew/srmio
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/srmio
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/srmio')
-rw-r--r--homebrew/srmio/.beer35
-rw-r--r--homebrew/srmio/.make.sh-auto6
-rw-r--r--homebrew/srmio/_metadata/description1
-rw-r--r--homebrew/srmio/_metadata/homepage1
-rw-r--r--homebrew/srmio/_metadata/name1
-rw-r--r--homebrew/srmio/_metadata/version1
-rwxr-xr-xhomebrew/srmio/download.sh1
7 files changed, 46 insertions, 0 deletions
diff --git a/homebrew/srmio/.beer b/homebrew/srmio/.beer
new file mode 100644
index 000000000..18ab369fd
--- /dev/null
+++ b/homebrew/srmio/.beer
@@ -0,0 +1,35 @@
+{
+ "name": "Srmio",
+ "description": "C library to access the PowerControl of a SRM bike power meter",
+ "url": "http://www.zuto.de/project/files/srmio/srmio-0.1.1~git1.tar.gz",
+ "mirror": null,
+ "homepage": "http://www.zuto.de/project/srmio/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "if build.head?",
+ "chmod 0755, \"genautomake.sh\"",
+ "system \"./genautomake.sh\"",
+ "end",
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.1.1",
+ "file": "srmio.rb"
+} \ No newline at end of file
diff --git a/homebrew/srmio/.make.sh-auto b/homebrew/srmio/.make.sh-auto
new file mode 100644
index 000000000..980d3d408
--- /dev/null
+++ b/homebrew/srmio/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+chmod 0755, "genautomake.sh"
+./genautomake.sh
+end
+pkg:configure --disable-dependency-tracking
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/srmio/_metadata/description b/homebrew/srmio/_metadata/description
new file mode 100644
index 000000000..a03b14145
--- /dev/null
+++ b/homebrew/srmio/_metadata/description
@@ -0,0 +1 @@
+C library to access the PowerControl of a SRM bike power meter
diff --git a/homebrew/srmio/_metadata/homepage b/homebrew/srmio/_metadata/homepage
new file mode 100644
index 000000000..5c7b2499a
--- /dev/null
+++ b/homebrew/srmio/_metadata/homepage
@@ -0,0 +1 @@
+http://www.zuto.de/project/srmio/
diff --git a/homebrew/srmio/_metadata/name b/homebrew/srmio/_metadata/name
new file mode 100644
index 000000000..ca27c0947
--- /dev/null
+++ b/homebrew/srmio/_metadata/name
@@ -0,0 +1 @@
+Srmio
diff --git a/homebrew/srmio/_metadata/version b/homebrew/srmio/_metadata/version
new file mode 100644
index 000000000..17e51c385
--- /dev/null
+++ b/homebrew/srmio/_metadata/version
@@ -0,0 +1 @@
+0.1.1
diff --git a/homebrew/srmio/download.sh b/homebrew/srmio/download.sh
new file mode 100755
index 000000000..351d9242c
--- /dev/null
+++ b/homebrew/srmio/download.sh
@@ -0,0 +1 @@
+wget http://www.zuto.de/project/files/srmio/srmio-0.1.1~git1.tar.gz \ No newline at end of file