diff options
| author | Edward George | 2010-06-02 21:13:39 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2010-06-10 10:01:01 -0700 |
| commit | 1e6e6922bc75579666f3b65b5dfb953ba7ef156d (patch) | |
| tree | 7347843726cce9ab967e764c777ff459995918cc /Library/Formula | |
| parent | e5ac846c9db4a374cac9a7c72f6e16d79b273491 (diff) | |
| download | homebrew-1e6e6922bc75579666f3b65b5dfb953ba7ef156d.tar.bz2 | |
Added libplist 1.3.
A library to handle Apple Property List formats.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libplist.rb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/libplist.rb b/Library/Formula/libplist.rb new file mode 100644 index 000000000..81d721ada --- /dev/null +++ b/Library/Formula/libplist.rb @@ -0,0 +1,22 @@ +require 'formula' + +class Libplist <Formula + url 'http://cloud.github.com/downloads/JonathanBeck/libplist/libplist-1.3.tar.bz2' + homepage 'http://github.com/JonathanBeck/libplist' + md5 '0f48f4da8ddba5d7e186307622bf2c62' + + depends_on 'cmake' + depends_on 'glib' + depends_on 'libxml2' + + def keg_only? + "This brew provides libmagic, but also installs a 'file' command which shadows the OS X-provided command." + end + + def install + # Disable Python bindings. + inreplace "CMakeLists.txt", 'OPTION(ENABLE_PYTHON "Enable Python bindings (needs Swig)" ON)', '# Disabled Python Bindings' + system "cmake . #{std_cmake_parameters}" + system "make install" + end +end |
