diff options
| author | Arlo Breault | 2014-06-14 14:55:39 -0700 |
|---|---|---|
| committer | Jack Nagel | 2014-06-16 18:52:10 -0500 |
| commit | 845f54cd54da6e9f62617d048d86bc2559f24742 (patch) | |
| tree | 560896db8fc6b18b3a105fbbde40d21989a73733 /Library/Formula | |
| parent | cb9b3e205cc0c79a0287b4ad10d19c63873d52ad (diff) | |
| download | homebrew-845f54cd54da6e9f62617d048d86bc2559f24742.tar.bz2 | |
pidgin: add OTR plugin as a resource
Closes #30161.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pidgin.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/pidgin.rb b/Library/Formula/pidgin.rb index 8f5d031ac..1dff1c787 100644 --- a/Library/Formula/pidgin.rb +++ b/Library/Formula/pidgin.rb @@ -13,6 +13,14 @@ class Pidgin < Formula depends_on 'gnutls' depends_on 'gtk+' + # for pidgin-otr + depends_on "libotr" + + resource "pidgin-otr" do + url "http://www.cypherpunks.ca/otr/pidgin-otr-4.0.0.tar.gz" + sha1 "23c602c4b306ef4eeb3ff5959cd389569f39044d" + end + option 'perl', 'Build pidgin with perl support' def install @@ -35,6 +43,12 @@ class Pidgin < Formula system "./configure", *args system "make install" + + resource("pidgin-otr").stage do + ENV.append_path "PKG_CONFIG_PATH", "#{lib}/pkgconfig" + system "./configure", "--prefix=#{prefix}", "--mandir=#{man}" + system "make", "install" + end end test do |
