aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDominyk Tiller2014-11-10 23:10:03 +0000
committerJack Nagel2014-11-10 17:17:30 -0600
commit17c5156f0ebd0ae1e9891a8ecda6f5f2f9303b5a (patch)
treeda4be4ce6a11d35da5d0cc4dbc06ec0c4aa1abf3 /Library/Formula
parentd016af9dc51db043c1b81cc941fe9db71f872342 (diff)
downloadhomebrew-17c5156f0ebd0ae1e9891a8ecda6f5f2f9303b5a.tar.bz2
libplist 1.12
Version bump, fixed HEAD, version bump to cython and Python build adjustments. Closes #34079. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libplist.rb25
1 files changed, 16 insertions, 9 deletions
diff --git a/Library/Formula/libplist.rb b/Library/Formula/libplist.rb
index 7e59692d9..8f8922384 100644
--- a/Library/Formula/libplist.rb
+++ b/Library/Formula/libplist.rb
@@ -2,19 +2,24 @@ require "formula"
class Libplist < Formula
homepage "http://www.libimobiledevice.org"
- url "http://www.libimobiledevice.org/downloads/libplist-1.11.tar.bz2"
- sha1 "1a105757596131e3230382c21e06407090505427"
-
- head "http://git.sukimashita.com/libplist.git"
+ url "http://www.libimobiledevice.org/downloads/libplist-1.12.tar.bz2"
+ sha1 "48f071c723387637ef2cc2980d4ca0627aab067b"
bottle do
cellar :any
- revision 1
sha1 "cdb47a2580cb22b91f5f7e54c4c931656d85c191" => :yosemite
sha1 "0a09124d49ed3f662191fc4d11dcd9fa01530c8f" => :mavericks
sha1 "60f6e063e274c92a220e4f926e4acec7c76c25be" => :mountain_lion
end
+ head do
+ url "http://git.sukimashita.com/libplist.git"
+
+ depends_on "automake" => :build
+ depends_on "autoconf" => :build
+ depends_on "libtool" => :build
+ end
+
option "with-python", "Enable Cython Python bindings"
depends_on "pkg-config" => :build
@@ -22,8 +27,8 @@ class Libplist < Formula
depends_on :python => :optional
resource "cython" do
- url "http://cython.org/release/Cython-0.20.2.tar.gz"
- sha1 "e3fd4c32bdfa4a388cce9538417237172c656d55"
+ url "http://cython.org/release/Cython-0.21.tar.gz"
+ sha1 "f5784539870715e33b51374e9c4451ff6ff21c7f"
end
def install
@@ -37,14 +42,16 @@ class Libplist < Formula
if build.with? "python"
resource("cython").stage do
ENV.prepend_create_path "PYTHONPATH", buildpath+"lib/python2.7/site-packages"
- system "python", "setup.py", "build", "install", "--prefix=#{buildpath}"
+ system "python", "setup.py", "build", "install", "--prefix=#{buildpath}",
+ "--single-version-externally-managed", "--record=installed.txt"
end
ENV.prepend_path "PATH", "#{buildpath}/bin"
else
args << "--without-cython"
end
+ system "./autogen.sh" if build.head?
system "./configure", *args
- system "make install"
+ system "make", "install"
end
end