Commit 8df14b7d authored by Damian Montero's avatar Damian Montero Committed by GitHub

Merge pull request #618 from ntchambers/master

Fix for a few requests
parents 1b4c8209 1a6cd40c
require 'package'
class Boost < Package
version '1.59.0'
source_url 'http://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz'
source_sha1 '5123209db194d66d69a9cfa5af8ff473d5941d97'
def self.build
system './bootstrap --prefix=/usr/local'
end
def self.install
system './b2 install'
end
end
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
require 'package'
class Mosh < Package
version '1.3.0'
source_url 'https://mosh.org/mosh-1.3.0.tar.gz'
source_sha1 '846698806d940c84028c04f68e289e31d9540d5f'
depends_on 'protobuf'
def self.build
system './configure --prefix=/usr/local'
system 'make'
end
def self.install
system 'make install'
end
end
require 'package'
class Mutt < Package
version '1.8.2'
source_url 'ftp://ftp.mutt.org/pub/mutt/mutt-1.8.2.tar.gz'
source_sha1 'bdac1201de464d63f61a663f3dcf1ee4484dbbb3'
def self.build
system 'mkdir /usr/local/mail'
system './configure --with-mailpath=/usr/local/mail --prefix=/usr/local'
system 'make'
end
def self.install
system 'make -i install'
end
end
require 'package'
class Protobuf < Package
version '3.3.0'
source_url 'https://github.com/google/protobuf/archive/v3.3.0.tar.gz'
source_sha1 '34bcb26fe1eff098224c93b9176fb2400f1f2a84'
depends_on 'automake'
depends_on 'libtool'
def self.build
system './autogen.sh'
system './configure --prefix=/usr/local'
system 'make'
system 'make check'
end
def self.install
system 'make install'
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