summaryrefslogtreecommitdiff
path: root/homebrew/libserialport
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/libserialport')
-rw-r--r--homebrew/libserialport/.beer20
-rw-r--r--homebrew/libserialport/.make.sh-auto3
-rw-r--r--homebrew/libserialport/_metadata/description1
-rw-r--r--homebrew/libserialport/_metadata/homepage1
-rw-r--r--homebrew/libserialport/_metadata/name1
-rw-r--r--homebrew/libserialport/_metadata/version1
-rwxr-xr-xhomebrew/libserialport/download.sh1
7 files changed, 28 insertions, 0 deletions
diff --git a/homebrew/libserialport/.beer b/homebrew/libserialport/.beer
new file mode 100644
index 000000000..412bf73e2
--- /dev/null
+++ b/homebrew/libserialport/.beer
@@ -0,0 +1,20 @@
+{
+ "name": "Libserialport",
+ "description": "Cross-platform serial port C library",
+ "url": "https://sigrok.org/download/source/libserialport/libserialport-0.1.1.tar.gz",
+ "mirror": null,
+ "homepage": "https://sigrok.org/wiki/Libserialport",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./configure\", \"--disable-debug\",",
+ "\"--disable-dependency-tracking\",",
+ "\"--disable-silent-rules\",",
+ "\"--prefix=#{prefix}\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.1.1",
+ "file": "libserialport.rb"
+} \ No newline at end of file
diff --git a/homebrew/libserialport/.make.sh-auto b/homebrew/libserialport/.make.sh-auto
new file mode 100644
index 000000000..e3e79dc99
--- /dev/null
+++ b/homebrew/libserialport/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking --disable-silent-rules
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/libserialport/_metadata/description b/homebrew/libserialport/_metadata/description
new file mode 100644
index 000000000..3bd5fe51f
--- /dev/null
+++ b/homebrew/libserialport/_metadata/description
@@ -0,0 +1 @@
+Cross-platform serial port C library
diff --git a/homebrew/libserialport/_metadata/homepage b/homebrew/libserialport/_metadata/homepage
new file mode 100644
index 000000000..9dfe8a91c
--- /dev/null
+++ b/homebrew/libserialport/_metadata/homepage
@@ -0,0 +1 @@
+https://sigrok.org/wiki/Libserialport
diff --git a/homebrew/libserialport/_metadata/name b/homebrew/libserialport/_metadata/name
new file mode 100644
index 000000000..45b59cfc9
--- /dev/null
+++ b/homebrew/libserialport/_metadata/name
@@ -0,0 +1 @@
+Libserialport
diff --git a/homebrew/libserialport/_metadata/version b/homebrew/libserialport/_metadata/version
new file mode 100644
index 000000000..17e51c385
--- /dev/null
+++ b/homebrew/libserialport/_metadata/version
@@ -0,0 +1 @@
+0.1.1
diff --git a/homebrew/libserialport/download.sh b/homebrew/libserialport/download.sh
new file mode 100755
index 000000000..263d78903
--- /dev/null
+++ b/homebrew/libserialport/download.sh
@@ -0,0 +1 @@
+wget https://sigrok.org/download/source/libserialport/libserialport-0.1.1.tar.gz \ No newline at end of file