summaryrefslogtreecommitdiff
path: root/homebrew/pjproject/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/pjproject/.make.sh-auto')
-rw-r--r--homebrew/pjproject/.make.sh-auto8
1 files changed, 8 insertions, 0 deletions
diff --git a/homebrew/pjproject/.make.sh-auto b/homebrew/pjproject/.make.sh-auto
new file mode 100644
index 000000000..68e16dd94
--- /dev/null
+++ b/homebrew/pjproject/.make.sh-auto
@@ -0,0 +1,8 @@
+pkg:setup
+pkg:configure
+make dep
+make
+make DESTDIR=${PKG_DEST} install
+arch = Utils.popen_read("uname -m").chomp
+rel = Utils.popen_read("uname -r").chomp
+bin.install "pjsip-apps/bin/pjsua-#{arch}-apple-darwin#{rel}" => "pjsua"