shmcat 1.7

This commit is contained in:
Brett Koonce 2014-08-17 09:33:57 -07:00
parent d965ef854a
commit 18313d4d2b

View file

@ -1,14 +1,14 @@
require 'formula'
require "formula"
class Shmcat < Formula
homepage 'http://shmcat.sourceforge.net/'
url 'https://downloads.sourceforge.net/project/shmcat/shmcat-1.6.tar.bz2'
sha1 '13650adef363bf9c7c97602036cf6c3241f1a86d'
homepage "http://shmcat.sourceforge.net/"
url "https://downloads.sourceforge.net/project/shmcat/shmcat-1.7.tar.bz2"
sha1 "30f6bc931859e1544e783edc84f137e9c4a0b5f6"
option 'with-ftok', "Build the ftok utility"
option 'with-nls', "Use Native Language Support"
option "with-ftok", "Build the ftok utility"
option "with-nls", "Use Native Language Support"
depends_on 'gettext' if build.with? "nls"
depends_on "gettext" if build.with? "nls"
def install
args = %W[
@ -17,7 +17,7 @@ class Shmcat < Formula
]
args << "--disable-ftok" if build.without? "ftok"
if build.with? "nls"
gettext = Formula['gettext']
gettext = Formula["gettext"]
args << "--with-libintl-prefix=#{gettext.include}"
else
args << "--disable-nls"