Files
chromebrew/packages/libfilezilla.rb
Ed Reel 794fb48b0a Update filezilla packages (#7487)
* Update filezilla package and dependencies

filezilla 3.57.0 => 3.61.0
libfilezilla 0.35.0 => 0.39.1
wxwidgets 3.2.0 => 3.2.1

Add wxwidgets30 package

* Fix source_urls

* Update wxwidgets packages

* Update wxwidgets packages

* Add x86_64 binaries

* Add armv7l binaries

* Add i686 binaries

* Rubocop fixes

* Add wxwidgets30 to packages.yaml

Co-authored-by: chronos <no-reply@github.com>
2022-10-13 15:56:27 -04:00

39 lines
1.5 KiB
Ruby

require 'package'
class Libfilezilla < Package
description 'libfilezilla is a small and modern C++ library, offering some basic functionality to build high-performing, platform-independent programs.'
homepage 'https://lib.filezilla-project.org/'
version '0.39.1'
license 'GPL-2+'
compatibility 'aarch64,armv7l,x86_64'
source_url 'https://download.filezilla-project.org/libfilezilla/libfilezilla-0.39.1.tar.bz2'
source_sha256 'f3d6c0df28f33f52cf253cb03fc51579752ae4daef2aac7345a6bd7de623a6c5'
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libfilezilla/0.39.1_armv7l/libfilezilla-0.39.1-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libfilezilla/0.39.1_armv7l/libfilezilla-0.39.1-chromeos-armv7l.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libfilezilla/0.39.1_x86_64/libfilezilla-0.39.1-chromeos-x86_64.tar.zst'
})
binary_sha256({
aarch64: '250d912aef70be101d50da5d50240dc6f7064f6e6898248fccd51776fad6807e',
armv7l: '250d912aef70be101d50da5d50240dc6f7064f6e6898248fccd51776fad6807e',
x86_64: '31de2e21979648f016118fe198e2a12991922f8dd62bad88f629d51d71d8f6cd'
})
depends_on 'openmp'
depends_on 'p11kit'
def self.patch
system 'filefix'
end
def self.build
system "./configure #{CREW_OPTIONS}"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end