Commit a40b33ca authored by Nicolas Wavrant's avatar Nicolas Wavrant Committed by Ed Reel

Add profanity package (#3278)

Add libstrophe dependency
parent 0ed51548
require 'package'
class Libstrophe < Package
description 'A simple, lightweight C library for writing XMPP clients'
homepage 'http://strophe.im/libstrophe/'
version '0.9.2'
source_url 'https://github.com/strophe/libstrophe/archive/0.9.2.tar.gz'
source_sha256 '158145bc1565a5fd0bbd7f57e3e15d768e58b8a460897ab5918a5a689d67ae6f'
binary_url ({
})
binary_sha256 ({
})
depends_on 'libxml2'
def self.build
system './bootstrap.sh'
system "./configure", "--prefix=#{CREW_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Profanity < Package
description 'A console based XMPP client'
homepage 'https://profanity-im.github.io/'
version '0.6.0'
source_url 'https://profanity-im.github.io/profanity-0.6.0.tar.gz'
source_sha256 'f1b2773b79eb294297686f3913e9489c20effae5e3a335c8956db18f6ee2f660'
binary_url ({
})
binary_sha256 ({
})
depends_on 'curl'
depends_on 'glib'
depends_on 'libstrophe'
def self.build
system "./configure", "--prefix=#{CREW_PREFIX}", "--libdir=#{CREW_LIB_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment