Commit 1a704281 authored by Ed Reel's avatar Ed Reel Committed by Chris Thurber

Add homebank package (#3264)

Add libofx and opensp dependency packages

Add pre-built binaries
parent 96a26525
require 'package'
class Homebank < Package
description 'HomeBank is a free software that will assist you to manage your personal accounting.'
homepage 'http://homebank.free.fr/en/index.php'
version '5.2.4'
source_url 'http://homebank.free.fr/public/homebank-5.2.4.tar.gz'
source_sha256 '79a89ab8816a5973fa6afe75157fa375953795c79c224d510e8af0afed2512d2'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/homebank-5.2.4-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/homebank-5.2.4-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/homebank-5.2.4-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/homebank-5.2.4-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'b01261bab43f81e1d89f82a85a26bdd39c5ede81a7dfda5d9c95fec8ee8f5c83',
armv7l: 'b01261bab43f81e1d89f82a85a26bdd39c5ede81a7dfda5d9c95fec8ee8f5c83',
i686: '887e298a2aae9b2d6f95a5745124ab8ab6745d18032195c32a5c05c9dea7b997',
x86_64: '5d609a527c5b8cb12d4c42440ad3f87eb3ad1d13de20025f04a3c31cd1a2a18d',
})
depends_on 'libofx'
depends_on 'libsoup'
depends_on 'gtk3'
depends_on 'xdg_base'
depends_on 'sommelier'
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
require 'package'
class Libofx < Package
description 'The LibOFX library is a parser and an API designed to allow applications to very easily support OFX command responses, usually provided by financial institutions for statement downloads.'
homepage 'http://libofx.sourceforge.net/'
version '0.9.13'
source_url 'https://downloads.sourceforge.net/project/libofx/libofx/libofx-0.9.13.tar.gz'
source_sha256 '57eaf97cddbaf82c24f26b8f5cf8b2fbfd4969c74500a2c9acc9082b83bcc0e4'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libofx-0.9.13-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libofx-0.9.13-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libofx-0.9.13-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libofx-0.9.13-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'da3d2fafad2db44785980c516084f122b882d2816c58f52f927942efa49d808b',
armv7l: 'da3d2fafad2db44785980c516084f122b882d2816c58f52f927942efa49d808b',
i686: '6b54a1337966f6dfb027ffd92e131716cadcbdf83e1a6e43c7fb6135d518be88',
x86_64: '346cf61d1a88a8307ff8371826cd63a11b9d37c895c0b2cbaded10cc25e6446d',
})
depends_on 'opensp'
depends_on 'gengetopt'
def self.build
system 'filefix'
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
"--with-opensp-libs=#{CREW_LIB_PREFIX}",
"--with-opensp-includes=#{CREW_PREFIX}/include/OpenSP"
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
class Opensp < Package
description 'Suite of SGML/XML processing tools'
homepage 'http://openjade.sourceforge.net/'
version '1.5.2'
source_url 'https://downloads.sourceforge.net/project/openjade/opensp/1.5.2/OpenSP-1.5.2.tar.gz'
source_sha256 '57f4898498a368918b0d49c826aa434bb5b703d2c3b169beb348016ab25617ce'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/opensp-1.5.2-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/opensp-1.5.2-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/opensp-1.5.2-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/opensp-1.5.2-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '96b7be4dfbf6a31a3b06f6e0675267e595f58cd235f46c4b5726edb55b835360',
armv7l: '96b7be4dfbf6a31a3b06f6e0675267e595f58cd235f46c4b5726edb55b835360',
i686: '429919f9c80c972c546ef6a14f9754a50919fad8ed918c65a56bf9e859029039',
x86_64: '10c0452e3f3ac2f794029c076e69b347c4002a0d7dea0af4beb742b930da58f0',
})
def self.build
system 'filefix'
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
'--disable-doc-build'
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