Commit ea6df66a authored by saltedcoffii's avatar saltedcoffii Committed by GitHub

[New Package] libostree (#4937)

* [New Package] libostree

* Remove make check as make check fails

* add compatibility 'all'
parent 71c0d6bc
require 'package'
class Libostree < Package
description 'libostree manages operating system and container binary deployment and upgrades.'
homepage 'https://ostreedev.github.io/ostree/'
version '2020.8'
compatibility 'all'
source_url 'https://github.com/ostreedev/ostree/releases/download/v2020.8/libostree-2020.8.tar.xz'
source_sha256 'fdaa5992d0a6f62157152355449ac8476c50df6602be398e9ad10438cc1e679b'
depends_on 'glib'
depends_on 'gpgme'
depends_on 'libsoup'
depends_on 'e2fsprogs'
depends_on 'fuse'
depends_on 'libarchive'
depends_on 'avahi'
depends_on 'gtk_doc' => :build
depends_on 'libxml2' => :build
def self.build
system "./autogen.sh #{CREW_OPTIONS} \
--with-curl \
--without-libsystemd \
--with-avahi \
--with-libarchive \
--disable-gtk-doc \
--disable-man" #gtk-doc and man failed to build, causes make to fail
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