Commit 63c6e029 authored by Chris Thurber's avatar Chris Thurber Committed by GitHub

Merge pull request #2143 from uberhacker/add-uwsgi-package

Add uwsgi package
parents 5b71240d 2ef2ba40
require 'package'
class Uwsgi < Package
description 'uWSGI application server container'
homepage 'https://uwsgi-docs.readthedocs.io/en/latest/'
version '2.0.17'
source_url 'https://github.com/unbit/uwsgi/archive/2.0.17.tar.gz'
source_sha256 '3dc2e9b48db92b67bfec1badec0d3fdcc0771316486c5efa3217569da3528bf2'
binary_url ({
})
binary_sha256 ({
})
depends_on 'python27'
depends_on 'pcre'
def self.build
puts
system "echo 'Select plugin(s):' && ls plugins"
puts
system "echo -n 'Enter selection (separate multiple plugins by a space) [python]: '"
plugins = STDIN.gets.chomp
puts
system "make #{plugins}"
end
def self.install
system "install -Dm755 uwsgi #{CREW_DEST_PREFIX}/bin/uwsgi"
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