summaryrefslogtreecommitdiff
path: root/homebrew/luaradio/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/luaradio/.make.sh-auto')
-rw-r--r--homebrew/luaradio/.make.sh-auto5
1 files changed, 5 insertions, 0 deletions
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"