Files
chromebrew/packages/libevent.rb
Casey Strouse 6f1ce66a0d Update libevent from 2.0.22 to 2.1.8
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.
2017-02-02 22:00:46 -07:00

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