summaryrefslogtreecommitdiff
path: root/homebrew/luaradio
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/luaradio')
-rw-r--r--homebrew/luaradio/.beer34
-rw-r--r--homebrew/luaradio/.make.sh-auto5
-rw-r--r--homebrew/luaradio/_metadata/description1
-rw-r--r--homebrew/luaradio/_metadata/homepage1
-rw-r--r--homebrew/luaradio/_metadata/name1
-rw-r--r--homebrew/luaradio/_metadata/version1
-rwxr-xr-xhomebrew/luaradio/download.sh1
7 files changed, 44 insertions, 0 deletions
diff --git a/homebrew/luaradio/.beer b/homebrew/luaradio/.beer
new file mode 100644
index 000000000..f38328f7a
--- /dev/null
+++ b/homebrew/luaradio/.beer
@@ -0,0 +1,34 @@
+{
+ "name": "Luaradio",
+ "description": "Lightweight, embeddable flow graph signal processing framework for SDR",
+ "url": "https://github.com/vsergeev/luaradio/archive/v0.5.1.tar.gz",
+ "mirror": null,
+ "homepage": "http://luaradio.io/",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "fftw",
+ "build-depend": false
+ },
+ {
+ "depend": "luajit",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "cd \"embed\" do",
+ "inreplace \"Makefile\" do |s|",
+ "s.gsub! \"install -d $(DESTDIR)$(INSTALL_CMOD)\",",
+ "\"install -d $(PREFIX)/lib/lua/5.1\"",
+ "s.gsub! \"$(DESTDIR)$(INSTALL_CMOD)/radio.so\",",
+ "\"$(PREFIX)/lib/lua/5.1/radio.so\""
+ ],
+ "version": "0.5.1",
+ "file": "luaradio.rb"
+} \ No newline at end of file
diff --git a/homebrew/luaradio/.make.sh-auto b/homebrew/luaradio/.make.sh-auto
new file mode 100644
index 000000000..a0bb62601
--- /dev/null
+++ b/homebrew/luaradio/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+cd "embed"
+inreplace "Makefile" do |s|
+s.gsub! "install -d $(DESTDIR)$(INSTALL_CMOD)", "install -d $(PREFIX)/lib/lua/5.1"
+s.gsub! "$(DESTDIR)$(INSTALL_CMOD)/radio.so", "$(PREFIX)/lib/lua/5.1/radio.so"
diff --git a/homebrew/luaradio/_metadata/description b/homebrew/luaradio/_metadata/description
new file mode 100644
index 000000000..fb7bac53d
--- /dev/null
+++ b/homebrew/luaradio/_metadata/description
@@ -0,0 +1 @@
+Lightweight, embeddable flow graph signal processing framework for SDR
diff --git a/homebrew/luaradio/_metadata/homepage b/homebrew/luaradio/_metadata/homepage
new file mode 100644
index 000000000..6c063a71f
--- /dev/null
+++ b/homebrew/luaradio/_metadata/homepage
@@ -0,0 +1 @@
+http://luaradio.io/
diff --git a/homebrew/luaradio/_metadata/name b/homebrew/luaradio/_metadata/name
new file mode 100644
index 000000000..1729c7447
--- /dev/null
+++ b/homebrew/luaradio/_metadata/name
@@ -0,0 +1 @@
+Luaradio
diff --git a/homebrew/luaradio/_metadata/version b/homebrew/luaradio/_metadata/version
new file mode 100644
index 000000000..4b9fcbec1
--- /dev/null
+++ b/homebrew/luaradio/_metadata/version
@@ -0,0 +1 @@
+0.5.1
diff --git a/homebrew/luaradio/download.sh b/homebrew/luaradio/download.sh
new file mode 100755
index 000000000..6bc1c7585
--- /dev/null
+++ b/homebrew/luaradio/download.sh
@@ -0,0 +1 @@
+wget https://github.com/vsergeev/luaradio/archive/v0.5.1.tar.gz \ No newline at end of file