libplist 2.1.0
Closes #46595. Signed-off-by: Rui Chen <chenrui333@gmail.com>
This commit is contained in:
parent
a426105d93
commit
7909f9299e
1 changed files with 7 additions and 9 deletions
|
@ -1,9 +1,8 @@
|
|||
class Libplist < Formula
|
||||
desc "Library for Apple Binary- and XML-Property Lists"
|
||||
homepage "https://www.libimobiledevice.org/"
|
||||
url "https://www.libimobiledevice.org/downloads/libplist-2.0.0.tar.bz2"
|
||||
sha256 "3a7e9694c2d9a85174ba1fa92417cfabaea7f6d19631e544948dc7e17e82f602"
|
||||
revision 1
|
||||
url "https://github.com/libimobiledevice/libplist/archive/2.1.0.tar.gz"
|
||||
sha256 "4b33f9af3f9208d54a3c3e1a8c149932513f451c98d1dd696fe42c06e30b7f03"
|
||||
|
||||
bottle do
|
||||
cellar :any
|
||||
|
@ -15,12 +14,11 @@ class Libplist < Formula
|
|||
|
||||
head do
|
||||
url "https://git.sukimashita.com/libplist.git"
|
||||
|
||||
depends_on "autoconf" => :build
|
||||
depends_on "automake" => :build
|
||||
depends_on "libtool" => :build
|
||||
end
|
||||
|
||||
depends_on "autoconf" => :build
|
||||
depends_on "automake" => :build
|
||||
depends_on "libtool" => :build
|
||||
depends_on "pkg-config" => :build
|
||||
|
||||
def install
|
||||
|
@ -33,8 +31,8 @@ class Libplist < Formula
|
|||
--without-cython
|
||||
]
|
||||
|
||||
system "./autogen.sh" if build.head?
|
||||
system "./configure", *args
|
||||
system "./autogen.sh", *args
|
||||
system "make"
|
||||
system "make", "install", "PYTHON_LDFLAGS=-undefined dynamic_lookup"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue