xineramaproto.rb 532 Bytes
Newer Older
Jan Baudisch's avatar
Jan Baudisch committed
1 2 3
require 'package'

class Xineramaproto < Package
4
  description 'The protocols for the X window system provide extended functionality for communication between a X client and the server.'
5
  homepage 'https://x.org'
Jan Baudisch's avatar
Jan Baudisch committed
6 7 8 9 10 11 12 13 14 15 16 17
  version '1.2'
  source_url 'https://www.x.org/archive/individual/proto/xineramaproto-1.2.tar.gz'
  source_sha256 'd1298f7e3bea0790bd3c93516b83ff4551b20b544c50fd231d53fc4b5ba93100'

  def self.build
    system "./configure"
  end

  def self.install
    system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
  end
end