Skip to content

Commit

Permalink
Merge pull request chromebrew#1413 from cstrouse/add-libplist
Browse files Browse the repository at this point in the history
Add libplist package
  • Loading branch information
uberhacker authored Nov 12, 2017
2 parents 5ae2547 + f6deb40 commit 2643b56
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions packages/libplist.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
require 'package'

class Libplist < Package
description 'A library to handle Apple Property List format'
homepage 'http://www.libimobiledevice.org/'
version '2.0.0'
source_url 'http://www.libimobiledevice.org/downloads/libplist-2.0.0.tar.bz2'
source_sha256 '3a7e9694c2d9a85174ba1fa92417cfabaea7f6d19631e544948dc7e17e82f602'

binary_url ({
})
binary_sha256 ({
})

depends_on 'glib'

def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-dependency-tracking'
system 'make'
end

def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end

def self.check
system 'make', 'check'
end
end

0 comments on commit 2643b56

Please sign in to comment.