mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
* added mutt client for #132. Currently, `make install` ignores errors, since it tries to install to /usr/local/share/man/man5 which is owned by root. * added google protobuf (needed by mosh client) * added mosh for #63. Although it is provided natively via https://chrome.google.com/webstore/detail/mosh/ooiklbnjmhbcgemelgfhaeaocllobloj * added boost v1.59.0 needed by MySQL (yet to be built) * added apache httpd for #615. Currently, `make install` ignores errors, since it tries to install to /usr/local/share/man/man8 which is owned by root.
22 lines
559 B
Ruby
22 lines
559 B
Ruby
require 'package'
|
|
|
|
class Httpd < Package
|
|
version '2.2.32'
|
|
source_url 'https://github.com/apache/httpd/archive/2.2.32.tar.gz'
|
|
source_sha1 '647e459f645c4138561e3f4314570f2f525d754d'
|
|
|
|
depends_on 'svn'
|
|
|
|
def self.build
|
|
system 'svn co http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x srclib/apr'
|
|
system 'svn co http://svn.apache.org/repos/asf/apr/apr-util/branches/1.4.x srclib/apr-util'
|
|
system './buildconf'
|
|
system './configure --prefix=/usr/local'
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system 'make -i install'
|
|
end
|
|
end
|