Commit 45f5bcc9 authored by Gangstead's avatar Gangstead Committed by GitHub

Merge pull request #1598 from uberhacker/add-siege-package

Add siege package
parents c3fe8c6f 9244149f
require 'package'
class Siege < Package
description 'Siege is an http load testing and benchmarking utility.'
homepage 'https://www.joedog.org/siege-home/'
version '4.0.4'
source_url 'http://download.joedog.org/siege/siege-4.0.4.tar.gz'
source_sha256 '8f7dcf18bd722bb9cc92bc3ea4b59836b4a2f8d8f01d4a94c8d181f56d91ea6f'
binary_url ({
})
binary_sha256 ({
})
depends_on 'compressdoc' => :build
depends_on 'diffutils' => :build
depends_on 'openssl'
depends_on 'perl'
depends_on 'zlibpkg'
def self.build
system './configure',
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
system "compressdoc --gzip -9 #{CREW_DEST_PREFIX}/share/man/man1"
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