mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-06 22:24:12 -05:00
32 lines
1.0 KiB
Ruby
32 lines
1.0 KiB
Ruby
require 'package'
|
|
|
|
class Xscreensaver < Package
|
|
description 'XScreenSaver is the standard screen saver collection shipped on most Linux and Unix systems running the X11 Window System.'
|
|
homepage 'https://www.jwz.org/xscreensaver/download.html'
|
|
version '5.44'
|
|
license 'BSD'
|
|
compatibility 'aarch64 armv7l x86_64'
|
|
source_url 'https://www.jwz.org/xscreensaver/xscreensaver-5.44.tar.gz'
|
|
source_sha256 '73d8089cfc7d7363b5dac99b5b01dffb3429d0a855e6af16ce9a4b7777017b95'
|
|
binary_compression 'tar.xz'
|
|
|
|
binary_sha256({
|
|
aarch64: '6e6fe321404454f174492ed9b116ed339b7b3053c86d6af7b463d266b4558feb',
|
|
armv7l: '6e6fe321404454f174492ed9b116ed339b7b3053c86d6af7b463d266b4558feb',
|
|
x86_64: '9f318d5f089884acfcef0ccfd0147535a44b38957f94338ff2f97e1cec27f3c0'
|
|
})
|
|
|
|
depends_on 'glfw'
|
|
depends_on 'freeglut'
|
|
depends_on 'sommelier'
|
|
|
|
def self.build
|
|
system "./configure --prefix=#{CREW_PREFIX}"
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system "make DESTDIR=#{CREW_DEST_DIR} PREFIX=#{CREW_PREFIX} install"
|
|
end
|
|
end
|