Commit bd381ae5 authored by Damian Montero's avatar Damian Montero Committed by GitHub

Merge pull request #824 from uberhacker/add-shtool-package

Add shtool package
parents ed4ef474 6e975646
require 'package'
class Shtool < Package
description 'GNU shtool is a compilation of small but very stable and portable shell scripts into a single shell tool.'
homepage 'http://savannah.gnu.org/projects/shtool'
version '2.0.8'
source_url 'https://ftpmirror.gnu.org/shtool/shtool-2.0.8.tar.gz'
source_sha256 '1298a549416d12af239e9f4e787e6e6509210afb49d5cf28eb6ec4015046ae19'
def self.build
system './configure'
system 'make'
end
def self.install
system "mkdir -p #{CREW_DEST_DIR}/usr/local/bin"
system "mkdir -p #{CREW_DEST_DIR}/usr/local/man/man1"
system "cp shtool #{CREW_DEST_DIR}/usr/local/bin"
system "cp *.1 #{CREW_DEST_DIR}/usr/local/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