Commit 556e8528 authored by Casey Strouse's avatar Casey Strouse

Add darkhttpd (1.12) package

darkhttpd is a fast, secure, and lightweight static HTTP server.

Tested as working on Samsung XE50013-K01US (x86_64).
parent 3c165a74
require 'package'
class Darkhttpd < Package
version '1.12'
source_url 'https://unix4lyfe.org/darkhttpd/darkhttpd-1.12.tar.bz2'
source_sha1 '30892c4b5d617548410914c9a5e56e0ebce02256'
def self.build
system 'make'
end
def self.install
FileUtils.mkdir_p "#{CREW_DEST_DIR}/usr/local/bin"
FileUtils.cp 'darkhttpd', "#{CREW_DEST_DIR}/usr/local/bin/"
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