Created
November 4, 2012 17:41
-
-
Save clarete/4012731 to your computer and use it in GitHub Desktop.
Brew formula for the iksmel library
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Iksemel < Formula | |
homepage 'http://code.google.com/p/iksemel/' | |
url 'https://code.google.com/p/iksemel.git', :revision => '978b733462e41efd5db72bc9974cb3b0d1d5f6fa' | |
version '1.5' | |
depends_on 'libtool' => :build | |
depends_on 'gnutls' | |
def patches | |
DATA | |
end | |
def install | |
args = [ | |
"--disable-python", "--prefix=#{prefix}", "--mandir=#{man}" | |
] | |
system "./autogen.sh" | |
system "./configure", *args | |
system "make install" | |
end | |
end | |
__END__ | |
diff --git a/autogen.sh b/autogen.sh | |
index 35e8e65..ce6a4ac 100755 | |
--- a/autogen.sh | |
+++ b/autogen.sh | |
@@ -18,7 +18,7 @@ | |
exit 1 | |
} | |
-(libtool --version) < /dev/null > /dev/null 2>&1 || { | |
+(glibtool --version) < /dev/null > /dev/null 2>&1 || { | |
echo | |
echo "Error: You must have 'libtool' installed on your system in order" | |
echo " to generate a configure script." | |
@@ -47,7 +47,7 @@ | |
srcdir=`dirname $0` | |
echo "Running libtoolize..." | |
-libtoolize --copy --force --automake | |
+glibtoolize --copy --force --automake | |
echo "Running aclocal..." | |
aclocal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment