Files
chromebrew/packages/httpd.rb
2017-06-29 11:57:31 -05:00

24 lines
798 B
Ruby

require 'package'
class Httpd < Package
description 'The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for modern operating systems including UNIX and Windows.'
homepage 'http://httpd.apache.org/'
version '2.2.32'
source_url 'https://github.com/apache/httpd/archive/2.2.32.tar.gz'
source_sha256 '0d74b1e4d69cedc56323cedc819c083ca975b679b6a082abf60c21836756bb1d'
depends_on 'subversion'
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