mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
This is a general bugfix/maintenance release. Key updates include performance tweaks and fixes for OpenSSL bugs. Tested as working on Samsung XE50013-K01US (x86_64). Test harness is currently broken and enters a loop.
18 lines
1.3 KiB
Ruby
18 lines
1.3 KiB
Ruby
require 'package' # include package class file
|
|
|
|
class Libevent < Package # name the package and make it a Package class instance
|
|
version '2.1.8' # software version
|
|
source_url 'https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz' # software source tarball url
|
|
source_sha1 '2a1b8bb7a262d3fd0ed6a080a20991a6eed675ec' # source tarball sha1 sum
|
|
depends_on 'openssl'
|
|
|
|
def self.build # self.build contains commands needed to build the software from source
|
|
system "./configure"
|
|
system "make" # ordered chronologically
|
|
end
|
|
|
|
def self.install # self.install contains commands needed to install the software on the target system
|
|
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" # remember to include DESTDIR set to CREW_DEST_DIR - needed to keep track of changes made to system
|
|
end # during installation
|
|
end
|