Commit f3c41a05 authored by Ed Reel's avatar Ed Reel Committed by GitHub

Merge pull request #1278 from cstrouse/add-kore

Add kore package
parents d3249b38 9666f789
require 'package'
class Kore < Package
description 'An easy to use, scalable and secure web application framework for writing web APIs in C. '
homepage 'https://kore.io'
version '2.0.0'
source_url 'https://github.com/jorisvink/kore/archive/2.0.0-release.tar.gz'
source_sha256 'e9573a3bd986bc7d91ce3fb8898cb542523d6ed274761281cea72a81963549c1'
binary_url ({
})
binary_sha256 ({
})
depends_on 'openssl'
def self.build
system 'make', "PREFIX=#{CREW_PREFIX}"
end
def self.install
# make install step doesn't respect DESTDIR
system "mkdir -p #{CREW_DEST_PREFIX}/bin"
system "install -m 555 kore #{CREW_DEST_PREFIX}/bin/kore"
system "mkdir -p #{CREW_DEST_PREFIX}/include/kore"
system "install -m 644 includes/*.h #{CREW_DEST_PREFIX}/include/kore"
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