summaryrefslogtreecommitdiff
path: root/homebrew/gnuunits/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/gnuunits/.make.sh-auto')
-rw-r--r--homebrew/gnuunits/.make.sh-auto8
1 files changed, 8 insertions, 0 deletions
diff --git a/homebrew/gnuunits/.make.sh-auto b/homebrew/gnuunits/.make.sh-auto
new file mode 100644
index 000000000..757c6c91f
--- /dev/null
+++ b/homebrew/gnuunits/.make.sh-auto
@@ -0,0 +1,8 @@
+pkg:setup
+args = %W[--prefix=#{prefix} --with-installed-readline --program-prefix=g ]
+pkg:configure *args
+make DESTDIR=${PKG_DEST} install
+(libexec/"gnubin").install_symlink bin/"gunits" => "units"
+(libexec/"gnubin").install_symlink bin/"gunits_cur" => "units_cur"
+(libexec/"gnuman/man1").install_symlink man1/"gunits.1" => "units.1"
+libexec.install_symlink "gnuman" => "man"