Commit 8e4e909e authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #679 from jam7/update/filecmd

Update filecmd.rb to 5.31 and strip binary and library
parents 43f28fe9 d205c823
require 'package' require 'package'
class Filecmd < Package class Filecmd < Package
version '5.29' version '5.31'
source_url 'ftp://ftp.astron.com/pub/file/file-5.29.tar.gz' source_url 'ftp://ftp.astron.com/pub/file/file-5.31.tar.gz'
source_sha1 '8d360aeed901e3e4f4d4a865696ac1e29efdfcca' source_sha1 'd66f71fb29ec0e9cecbefe9d7433d7a315f3302c'
def self.build def self.build
system "./configure" system "./configure"
system "make" system "make"
system "find . -name 'lib*.so.*' -print | xargs strip -S"
end end
def self.install def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install" system "make", "DESTDIR=#{CREW_DEST_DIR}", "install-strip"
end
def self.check
system "make", "check"
end end
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