Files
chromebrew/packages/xdg_dbus_proxy.rb
Maximilian Downey Twiss f6b6cab229 Rename autotools constants to fall in line with the rest of crew (#10442)
* Rename CREW_OPTIONS to CREW_CONFIGURE_OPTIONS

* Rename build_extras and install_extras to configure_build_extras and configure_install_extras
2024-09-09 18:21:58 -05:00

29 lines
1.0 KiB
Ruby

require 'package'
class Xdg_dbus_proxy < Package
description 'xdg-dbus-proxy is a filtering proxy for D-Bus connections.'
homepage 'https://github.com/flatpak/xdg-dbus-proxy'
version '0.1.2'
license 'LGPL-2.1+'
compatibility 'all'
source_url 'https://github.com/flatpak/xdg-dbus-proxy/releases/download/0.1.2/xdg-dbus-proxy-0.1.2.tar.xz'
source_sha256 '1749d6f9f46dcc9edc87725641cf56cf91dcad1b01707891ea0850c1000c520f'
binary_compression 'tar.xz'
binary_sha256({
aarch64: '1054fccdf3c1a8ca67a30b2daedfb6482bc346d24a8795f2016fe3d7534a1c6c',
armv7l: '1054fccdf3c1a8ca67a30b2daedfb6482bc346d24a8795f2016fe3d7534a1c6c',
i686: '61bbd332989ac164f86d7e33b4ea2c1686aa6b9c7e2d13ba93f44525a4b02386',
x86_64: '966dba4f3c69eee6356687be73ad2ed27513d6e50c46b2623d05004b27ace3e4'
})
def self.build
system "./configure #{CREW_CONFIGURE_OPTIONS} --disable-maintainer-mode --disable-man"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end