mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-29 12:29:40 -05:00
fsh: formula cleanup
- Use inreplace instead of find/sed - Specify infodir - Various style nits Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
1 parent
989e6c6366
commit
ec0c55be78
1 file changed
+6
-3
@@ -1,15 +1,18 @@
|
||||
require 'formula'
|
||||
|
||||
class Fsh < Formula
|
||||
url 'http://www.lysator.liu.se/fsh/fsh-1.2.tar.gz'
|
||||
homepage 'http://www.lysator.liu.se/fsh/'
|
||||
url 'http://www.lysator.liu.se/fsh/fsh-1.2.tar.gz'
|
||||
md5 '74d7fc65044d1c9c27c6e9edbbde9c68'
|
||||
|
||||
def install
|
||||
# FCNTL was deprecated and needs to be changed to fcntl
|
||||
system "find . -type f -exec sed -i \"\" 's/FCNTL/fcntl/g' {} \\;"
|
||||
inreplace 'fshcompat.py', 'FCNTL', 'fcntl'
|
||||
|
||||
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
||||
system "./configure", "--disable-debug",
|
||||
"--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}",
|
||||
"--infodir=#{info}"
|
||||
system "make install"
|
||||
|
||||
cd bin do
|
||||
|
||||
Reference in new issue
Block a user