Commit 3bbc12d4 authored by Ed Reel's avatar Ed Reel Committed by Kazushi (Jam) Marukawa

Change source_url and add dependencies

parent 64c03ac1
...@@ -4,20 +4,21 @@ class Httpd < Package ...@@ -4,20 +4,21 @@ 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.' 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/' homepage 'http://httpd.apache.org/'
version '2.4.27' version '2.4.27'
source_url 'https://github.com/apache/httpd/archive/2.4.27.tar.gz' source_url 'http://www-us.apache.org/dist/httpd/httpd-2.4.27.tar.gz'
source_sha256 '20d6a9258d408077b822d223da7893a905b185fbca518f4399445a68ad971b21' source_sha256 '346dd3d016ae5d7101016e68805150bdce9040a8d246c289aa70e68a7cd86b66'
depends_on 'subversion' depends_on 'apr'
depends_on 'aprutil'
depends_on 'libtool'
depends_on 'pcre'
def self.build def self.build
system 'svn co https://svn.apache.org/repos/asf/apr/apr/branches/1.5.x srclib/apr' system './configure'
system 'svn co https://svn.apache.org/repos/asf/apr/apr-util/branches/1.5.x srclib/apr-util'
system './buildconf'
system './configure --with-included-apr'
system 'make' system 'make'
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "libtool --finish #{CREW_DEST_DIR}#{CREW_PREFIX}/apache2/modules"
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment